EditWYSIWYGAttachPrintable
r1 - 2011-05-12 - 14:04:43 - ArthurRymanYou are here: TWiki >  LinkedData Web > FocalPointVocabulary > FPLinkedData > FPLinkedDataServiceExample
This wiki: The development wiki is a work area where Jazz development teams plan and discuss technical designs and operations for the projects at Jazz.net. Work items often link to documents here. You are welcome to browse, follow along, and participate. Participation is what Jazz.net is all about! But please keep in mind that information here is "as is", unsupported, and may be outdated or inaccurate. For information on released products, consult IBM Knowledge Center, support tech notes, and the Jazz.net library. See also the Jazz.net Terms of Use.


Any documentation or reference material found in this wiki is not official product documentation, but it is primarily for the use of the development teams. For your end use, you should consult official product documentation (infocenters), IBM.com support artifacts (tech notes), and the jazz.net library as officially "stamped" resources.

-- ArthurRyman - 12 May 2011

Focal Point Linked Data Service Example

The URI of the service resource on my machine is http://ryman.torolab.ibm.com:6080/fp/resources/

XML

Here is an example service resource in XML format.

Some content has been deleted to keep the listing small.

<?xml version="1.0" encoding="utf-8"?>
<fp:service xmlns:fp="http://schema.ibm.com/focalpoint/resources"
   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
   xsi:schemaLocation="http://schema.ibm.com/focalpoint/resources http://ryman.torolab.ibm.com:6080/fp/dtd/service.xsd">
   <fp:workspace>
      <fp:title>Estimation and Measurement</fp:title>
      <fp:alias>f9847009-faa6-4723-bf4d-d7609724797c</fp:alias>
      <fp:modules>
         <fp:collection addable="true">
            <fp:title>Elements</fp:title>
            <fp:alias>f009bef3-a6eb-4eaa-9ef6-c0f496e11418</fp:alias>
            <fp:indexList
               href="http://ryman.torolab.ibm.com:6080/fp/resources/workspaces/3/modules/1/elements/"></fp:indexList>
            <fp:indexTree
               href="http://ryman.torolab.ibm.com:6080/fp/resources/workspaces/3/modules/1/elements/?tree=true"></fp:indexTree>
            <fp:fullList
               href="http://ryman.torolab.ibm.com:6080/fp/resources/workspaces/3/modules/1/elements/?includeAttributes=true"></fp:fullList>
            <fp:fullTree
               href="http://ryman.torolab.ibm.com:6080/fp/resources/workspaces/3/modules/1/elements/?tree=true&amp;includeAttributes=true"></fp:fullTree>
         </fp:collection>
         <fp:collection addable="true">
            <fp:title>Projects</fp:title>
            <fp:alias>62fc8864-b235-4f29-93a2-d636b28932a5</fp:alias>
            <fp:indexList
               href="http://ryman.torolab.ibm.com:6080/fp/resources/workspaces/3/modules/13/elements/"></fp:indexList>
            <fp:indexTree
               href="http://ryman.torolab.ibm.com:6080/fp/resources/workspaces/3/modules/13/elements/?tree=true"></fp:indexTree>
            <fp:fullList
               href="http://ryman.torolab.ibm.com:6080/fp/resources/workspaces/3/modules/13/elements/?includeAttributes=true"></fp:fullList>
            <fp:fullTree
               href="http://ryman.torolab.ibm.com:6080/fp/resources/workspaces/3/modules/13/elements/?tree=true&amp;includeAttributes=true"></fp:fullTree>
         </fp:collection>
      </fp:modules>
      <fp:addViews></fp:addViews>
      <fp:displayViews>
         <fp:collection addable="false">
            <fp:title>Closed Projects</fp:title>
            <fp:alias>0a51928d-0db6-47f1-a0d2-a641b492a8d8</fp:alias>
            <fp:indexList
               href="http://ryman.torolab.ibm.com:6080/fp/resources/workspaces/3/modules/13/elements/?view=20"></fp:indexList>
            <fp:indexTree
               href="http://ryman.torolab.ibm.com:6080/fp/resources/workspaces/3/modules/13/elements/?view=20&amp;tree=true"></fp:indexTree>
            <fp:fullList
               href="http://ryman.torolab.ibm.com:6080/fp/resources/workspaces/3/modules/13/elements/?view=20&amp;includeAttributes=true"></fp:fullList>
            <fp:fullTree
               href="http://ryman.torolab.ibm.com:6080/fp/resources/workspaces/3/modules/13/elements/?view=20&amp;tree=true&amp;includeAttributes=true"></fp:fullTree>
         </fp:collection>
      </fp:displayViews>
   </fp:workspace>
</fp:service>

Turtle

Here is the RDF Turtle representation.

@prefix fps: <http://schema.ibm.com/focalpoint/resources#> .
@prefix dcterms: <http://purl.org/dc/terms/> .

<http://ryman.torolab.ibm.com:6080/fp/resources/> a fps:Service ;
   fps:memberWorkspace <http://ryman.torolab.ibm.com:6080/fp/resources/workspaces/3> .
   
<http://ryman.torolab.ibm.com:6080/fp/resources/workspaces/3> a fps:Workspace ;
   dcterms:title "Estimation and Measurement" ;
   dcterms:identifier "f9847009-faa6-4723-bf4d-d7609724797c" ;
   fps:memberModule
      <http://ryman.torolab.ibm.com:6080/fp/resources/workspaces/3/modules/1> ,
      <http://ryman.torolab.ibm.com:6080/fp/resources/workspaces/3/modules/13> ;
   fps:memberView
      <http://ryman.torolab.ibm.com:6080/fp/resources/workspaces/2/modules/13/views/20> .
      
<http://ryman.torolab.ibm.com:6080/fp/resources/workspaces/3/modules/1> a fps:Module ;
   dcterms:title "Elements" ;
   dcterms:identifier "f009bef3-a6eb-4eaa-9ef6-c0f496e11418" ;
   fps:indexList <http://ryman.torolab.ibm.com:6080/fp/resources/workspaces/3/modules/1/elements/> ;
   fps:indexTree <http://ryman.torolab.ibm.com:6080/fp/resources/workspaces/3/modules/1/elements/?tree=true> ;
   fps:fullList <http://ryman.torolab.ibm.com:6080/fp/resources/workspaces/3/modules/1/elements/?includeAttributes=true> ;
   fps:fullTree <http://ryman.torolab.ibm.com:6080/fp/resources/workspaces/3/modules/1/elements/?tree=true&includeAttributes=true> .

<http://ryman.torolab.ibm.com:6080/fp/resources/workspaces/3/modules/13> a fps:Module ;
   dcterms:title "Projects" ;
   dcterms:identifier "62fc8864-b235-4f29-93a2-d636b28932a5" ;
   fps:indexList <http://ryman.torolab.ibm.com:6080/fp/resources/workspaces/3/modules/13/elements/> ;
   fps:indexTree <http://ryman.torolab.ibm.com:6080/fp/resources/workspaces/3/modules/13/elements/?tree=true> ;
   fps:fullList <http://ryman.torolab.ibm.com:6080/fp/resources/workspaces/3/modules/13/elements/?includeAttributes=true> ;
   fps:fullTree <http://ryman.torolab.ibm.com:6080/fp/resources/workspaces/3/modules/13/elements/?tree=true&includeAttributes=true> .

<http://ryman.torolab.ibm.com:6080/fp/resources/workspaces/2/modules/13/views/20> a fps:View ;
   dcterms:title "Closed Projects" ;
   dcterms:identifier "0a51928d-0db6-47f1-a0d2-a641b492a8d8" ;
   fps:onModule <http://ryman.torolab.ibm.com:6080/fp/resources/workspaces/3/modules/13> ;
   fps:isAddable false ;
   fps:indexList <http://ryman.torolab.ibm.com:6080/fp/resources/workspaces/3/modules/13/elements/?view=20> ;
   fps:indexTree <http://ryman.torolab.ibm.com:6080/fp/resources/workspaces/3/modules/13/elements/?view=20&tree=true> ;
   fps:fullList <http://ryman.torolab.ibm.com:6080/fp/resources/workspaces/3/modules/13/elements/?view=20&includeAttributes=true> ;
   fps:fullTree <http://ryman.torolab.ibm.com:6080/fp/resources/workspaces/3/modules/13/elements/?view=20&tree=true&includeAttributes=true> .   

RDF/XML

Here is the RDF/XML representation.

<?xml version="1.0"?>
<rdf:RDF xmlns:fps="http://schema.ibm.com/focalpoint/resources#" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:dcterms="http://purl.org/dc/terms/">
   <fps:Service rdf:about="http://ryman.torolab.ibm.com:6080/fp/resources/">
      <fps:memberWorkspace>
         <fps:Workspace rdf:about="http://ryman.torolab.ibm.com:6080/fp/resources/workspaces/3">
            <dcterms:title>Estimation and Measurement</dcterms:title>
            <dcterms:identifier>f9847009-faa6-4723-bf4d-d7609724797c</dcterms:identifier>
            <fps:memberModule>
               <fps:Module rdf:about="http://ryman.torolab.ibm.com:6080/fp/resources/workspaces/3/modules/1">
                  <dcterms:title>Elements</dcterms:title>
                  <dcterms:identifier>f009bef3-a6eb-4eaa-9ef6-c0f496e11418</dcterms:identifier>
                  <fps:indexList rdf:resource="http://ryman.torolab.ibm.com:6080/fp/resources/workspaces/3/modules/1/elements/" />
                  <fps:indexTree rdf:resource="http://ryman.torolab.ibm.com:6080/fp/resources/workspaces/3/modules/1/elements/?tree=true" />
                  <fps:fullList rdf:resource="http://ryman.torolab.ibm.com:6080/fp/resources/workspaces/3/modules/1/elements/?includeAttributes=true" />
                  <fps:fullTree rdf:resource="http://ryman.torolab.ibm.com:6080/fp/resources/workspaces/3/modules/1/elements/?tree=true&amp;includeAttributes=true" />
               </fps:Module>
            </fps:memberModule>
            <fps:memberModule>
               <fps:Module rdf:about="http://ryman.torolab.ibm.com:6080/fp/resources/workspaces/3/modules/13">
                  <dcterms:title>Projects</dcterms:title>
                  <dcterms:identifier>62fc8864-b235-4f29-93a2-d636b28932a5</dcterms:identifier>
                  <fps:indexList rdf:resource="http://ryman.torolab.ibm.com:6080/fp/resources/workspaces/3/modules/13/elements/" />
                  <fps:indexTree rdf:resource="http://ryman.torolab.ibm.com:6080/fp/resources/workspaces/3/modules/13/elements/?tree=true" />
                  <fps:fullList rdf:resource="http://ryman.torolab.ibm.com:6080/fp/resources/workspaces/3/modules/13/elements/?includeAttributes=true" />
                  <fps:fullTree rdf:resource="http://ryman.torolab.ibm.com:6080/fp/resources/workspaces/3/modules/13/elements/?tree=true&amp;includeAttributes=true" />
               </fps:Module>
            </fps:memberModule>
            <fps:memberView>
               <fps:View rdf:about="http://ryman.torolab.ibm.com:6080/fp/resources/workspaces/2/modules/13/views/20">
                  <dcterms:title>Closed Projects</dcterms:title>
                  <dcterms:identifier>0a51928d-0db6-47f1-a0d2-a641b492a8d8</dcterms:identifier>
                  <fps:onModule rdf:resource="http://ryman.torolab.ibm.com:6080/fp/resources/workspaces/3/modules/13" />
                  <fps:isAddable rdf:datatype="http://www.w3.org/2001/XMLSchema#boolean">false</fps:isAddable>
                  <fps:indexList rdf:resource="http://ryman.torolab.ibm.com:6080/fp/resources/workspaces/3/modules/13/elements/?view=20" />
                  <fps:indexTree rdf:resource="http://ryman.torolab.ibm.com:6080/fp/resources/workspaces/3/modules/13/elements/?view=20&amp;tree=true" />
                  <fps:fullList rdf:resource="http://ryman.torolab.ibm.com:6080/fp/resources/workspaces/3/modules/13/elements/?view=20&amp;includeAttributes=true" />
                  <fps:fullTree rdf:resource="http://ryman.torolab.ibm.com:6080/fp/resources/workspaces/3/modules/13/elements/?view=20&amp;tree=true&amp;includeAttributes=true" />
               </fps:View>
            </fps:memberView>
         </fps:Workspace>
      </fps:memberWorkspace>
   </fps:Service>
</rdf:RDF>
Edit | WYSIWYG | Attach | Printable | Raw View | Backlinks: Web, All Webs | History: r4 < r3 < r2 < r1 | More topic actions...
 
This site is powered by the TWiki collaboration platformCopyright © by IBM and non-IBM contributing authors. All material on this collaboration platform is the property of the contributing authors.
Contributions are governed by our Terms of Use
Ideas, requests, problems regarding TWiki? Send feedback
Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.