EditWYSIWYGAttachPrintable
r1 - 2011-05-12 - 18:33:40 - ArthurRymanYou are here: TWiki >  LinkedData Web > FocalPointVocabulary > FPLinkedData > FPLinkedDataIndexTreeExample
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 Index Tree Example

The URI of the index tree resource for the Projects module of the Estimation and Measurement workspace on my machine is http://ryman.torolab.ibm.com:6080/fp/resources/workspaces/3/modules/13/elements/?tree=true

XML

Here is an example index tree resource in XML format.

<?xml version="1.0" encoding="utf-8"?>
<ns:elementCollection
   xmlns:ns="http://ryman.torolab.ibm.com:6080/fp/namespace/workspaces/3/modules/13/elements"
   xmlns:fp="http://schema.ibm.com/focalpoint/resources" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
   xsi:schemaLocation="http://ryman.torolab.ibm.com:6080/fp/namespace/workspaces/3/modules/13/elements http://ryman.torolab.ibm.com:6080/fp/resources/workspaces/3/modules/13/elements.xsd">
   <ns:Projects>
      <ns:Project title="Projects">
         <ns:alias>643c7df6-c0d4-4125-ab71-038b0bb38173</ns:alias>
         <ns:selfLink
            href="http://ryman.torolab.ibm.com:6080/fp/resources/workspaces/3/modules/13/elements/14"></ns:selfLink>
         <ns:children>
            <ns:Project title="MindTrap">
               <ns:alias>d4503898-069b-47c3-a663-0c5107454eec</ns:alias>
               <ns:selfLink
                  href="http://ryman.torolab.ibm.com:6080/fp/resources/workspaces/3/modules/13/elements/19"></ns:selfLink>
               <ns:children>
                  <ns:Project title="003:MindTrap 1.0">
                     <ns:alias>3043e07f-869c-44b5-bbe7-5bcce432d186</ns:alias>
                     <ns:selfLink
                        href="http://ryman.torolab.ibm.com:6080/fp/resources/workspaces/3/modules/13/elements/17"></ns:selfLink>
                  </ns:Project>
                  <ns:Project title="004:MindTrap 2.0">
                     <ns:alias>24240bf0-36a4-4d62-ae50-93397b9b9697</ns:alias>
                     <ns:selfLink
                        href="http://ryman.torolab.ibm.com:6080/fp/resources/workspaces/3/modules/13/elements/18"></ns:selfLink>
                  </ns:Project>
               </ns:children>
            </ns:Project>
            <ns:Project title="001:Tsunami 1.0">
               <ns:alias>de13e016-1e9a-42d2-bccc-9d6bc56423dd</ns:alias>
               <ns:selfLink
                  href="http://ryman.torolab.ibm.com:6080/fp/resources/workspaces/3/modules/13/elements/15"></ns:selfLink>
            </ns:Project>
            <ns:Project title="002:Tsunami 1.1">
               <ns:alias>94c67a7c-5cdf-4952-b1ea-e6fe7cfc83d2</ns:alias>
               <ns:selfLink
                  href="http://ryman.torolab.ibm.com:6080/fp/resources/workspaces/3/modules/13/elements/16"></ns:selfLink>
            </ns:Project>
         </ns:children>
      </ns:Project>
   </ns:Projects>
   <fp:link
      href="http://ryman.torolab.ibm.com:6080/fp/resources/workspaces/3/modules/13/elements/"
      rel="alternate"></fp:link>
   <fp:link
      href="http://ryman.torolab.ibm.com:6080/fp/resources/workspaces/3/modules/13/elements/?includeAttributes=true&amp;tree=true"
      rel="alternate"></fp:link>
   <fp:link
      href="http://ryman.torolab.ibm.com:6080/fp/resources/workspaces/3/modules/13/elements/?includeAttributes=true"
      rel="alternate"></fp:link>
</ns:elementCollection>

Turtle

Here is the RDF Turtle representation.

@prefix fps: <http://schema.ibm.com/focalpoint/resources#> .
@prefix dcterms: <http://purl.org/dc/terms/> .
@prefix nss: <http://ryman.torolab.ibm.com:6080/fp/namespace/workspaces/3/modules/13/elements#> .

<http://ryman.torolab.ibm.com:6080/fp/resources/workspaces/3/modules/13> a fps:Module ;
   dcterms:title "Projects" ;
   fps:fullTree <http://ryman.torolab.ibm.com:6080/fp/resources/workspaces/3/modules/13/elements/?includeAttributes=true&tree=true> ;
   fps:fullIndex <http://ryman.torolab.ibm.com:6080/fp/resources/workspaces/3/modules/13/elements/?includeAttributes=true> ;
   fps:indexTree <http://ryman.torolab.ibm.com:6080/fp/resources/workspaces/3/modules/13/elements/?tree=true> ;
   fps:count 6;
   fps:memberElement
      <http://ryman.torolab.ibm.com:6080/fp/resources/workspaces/3/modules/13/elements/16> ,
      <http://ryman.torolab.ibm.com:6080/fp/resources/workspaces/3/modules/13/elements/17> ,
      <http://ryman.torolab.ibm.com:6080/fp/resources/workspaces/3/modules/13/elements/18> ,
      <http://ryman.torolab.ibm.com:6080/fp/resources/workspaces/3/modules/13/elements/19> ,
      <http://ryman.torolab.ibm.com:6080/fp/resources/workspaces/3/modules/13/elements/14> ,
      <http://ryman.torolab.ibm.com:6080/fp/resources/workspaces/3/modules/13/elements/15> .
      
<http://ryman.torolab.ibm.com:6080/fp/resources/workspaces/3/modules/13/elements/16>
   a fps:Element, nss:Project ;
   fps:isFolder false ;
   fps:parentFolder <http://ryman.torolab.ibm.com:6080/fp/resources/workspaces/3/modules/13/elements/14> ;
   dcterms:title "002:Tsunami 1.1" ;
   dcterms:identifier "94c67a7c-5cdf-4952-b1ea-e6fe7cfc83d2" .

<http://ryman.torolab.ibm.com:6080/fp/resources/workspaces/3/modules/13/elements/17>
   a fps:Element, nss:Project ;
   fps:isFolder false ;
   fps:parentFolder <http://ryman.torolab.ibm.com:6080/fp/resources/workspaces/3/modules/13/elements/19> ;
   dcterms:title "003:MindTrap 1.0" ;
   dcterms:identifier "3043e07f-869c-44b5-bbe7-5bcce432d186" .
   
<http://ryman.torolab.ibm.com:6080/fp/resources/workspaces/3/modules/13/elements/18>
   a fps:Element, nss:Project ;
   fps:isFolder false ;
   fps:parentFolder <http://ryman.torolab.ibm.com:6080/fp/resources/workspaces/3/modules/13/elements/19> ;
   dcterms:title "004:MindTrap 2.0" ;
   dcterms:identifier "24240bf0-36a4-4d62-ae50-93397b9b9697" .

<http://ryman.torolab.ibm.com:6080/fp/resources/workspaces/3/modules/13/elements/19>
   a fps:Element, nss:Project ;
   fps:isFolder true ;
   fps:parentFolder <http://ryman.torolab.ibm.com:6080/fp/resources/workspaces/3/modules/13/elements/14> ;
   fps:childElement
      <http://ryman.torolab.ibm.com:6080/fp/resources/workspaces/3/modules/13/elements/17> ,
      <http://ryman.torolab.ibm.com:6080/fp/resources/workspaces/3/modules/13/elements/18> ;
   dcterms:title "MindTrap" ;
   dcterms:identifier "d4503898-069b-47c3-a663-0c5107454eec" .

<http://ryman.torolab.ibm.com:6080/fp/resources/workspaces/3/modules/13/elements/14>
   a fps:Element, nss:Project ;
   fps:isFolder true ;
   fps:childElement
      <http://ryman.torolab.ibm.com:6080/fp/resources/workspaces/3/modules/13/elements/16> ,
      <http://ryman.torolab.ibm.com:6080/fp/resources/workspaces/3/modules/13/elements/19> ,
      <http://ryman.torolab.ibm.com:6080/fp/resources/workspaces/3/modules/13/elements/15> ;
   dcterms:title "Projects" ;
   dcterms:identifier "643c7df6-c0d4-4125-ab71-038b0bb38173" .

<http://ryman.torolab.ibm.com:6080/fp/resources/workspaces/3/modules/13/elements/15>
   a fps:Element, nss:Project ;
   fps:isFolder false ;
   fps:parentFolder <http://ryman.torolab.ibm.com:6080/fp/resources/workspaces/3/modules/13/elements/14> ;
   dcterms:title "001:Tsunami 1.0" ;
   dcterms:identifier "de13e016-1e9a-42d2-bccc-9d6bc56423dd" .

RDF/XML

Here is the RDF/XML representation.

<?xml version="1.0"?>
<rdf:RDF xmlns:fps="http://schema.ibm.com/focalpoint/resources#"
   xmlns:nss="http://ryman.torolab.ibm.com:6080/fp/namespace/workspaces/3/modules/13/elements#"
   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:dcterms="http://purl.org/dc/terms/">
   <fps:Module
      rdf:about="http://ryman.torolab.ibm.com:6080/fp/resources/workspaces/3/modules/13">
      <dcterms:title>Projects</dcterms:title>
      <fps:fullTree
         rdf:resource="http://ryman.torolab.ibm.com:6080/fp/resources/workspaces/3/modules/13/elements/?includeAttributes=true&amp;tree=true" />
      <fps:fullIndex
         rdf:resource="http://ryman.torolab.ibm.com:6080/fp/resources/workspaces/3/modules/13/elements/?includeAttributes=true" />
      <fps:indexTree
         rdf:resource="http://ryman.torolab.ibm.com:6080/fp/resources/workspaces/3/modules/13/elements/?tree=true" />
      <fps:count rdf:datatype="http://www.w3.org/2001/XMLSchema#integer">6</fps:count>
      <fps:memberElement>
         <fps:Element
            rdf:about="http://ryman.torolab.ibm.com:6080/fp/resources/workspaces/3/modules/13/elements/16">
            <rdf:type
               rdf:resource="http://ryman.torolab.ibm.com:6080/fp/namespace/workspaces/3/modules/13/elements#Project" />
            <fps:isFolder rdf:datatype="http://www.w3.org/2001/XMLSchema#boolean">false</fps:isFolder>
            <fps:parentFolder
               rdf:resource="http://ryman.torolab.ibm.com:6080/fp/resources/workspaces/3/modules/13/elements/14" />
            <dcterms:title>002:Tsunami 1.1</dcterms:title>
            <dcterms:identifier>94c67a7c-5cdf-4952-b1ea-e6fe7cfc83d2</dcterms:identifier>
         </fps:Element>
      </fps:memberElement>
      <fps:memberElement>
         <fps:Element
            rdf:about="http://ryman.torolab.ibm.com:6080/fp/resources/workspaces/3/modules/13/elements/17">
            <rdf:type
               rdf:resource="http://ryman.torolab.ibm.com:6080/fp/namespace/workspaces/3/modules/13/elements#Project" />
            <fps:isFolder rdf:datatype="http://www.w3.org/2001/XMLSchema#boolean">false</fps:isFolder>
            <fps:parentFolder
               rdf:resource="http://ryman.torolab.ibm.com:6080/fp/resources/workspaces/3/modules/13/elements/19" />
            <dcterms:title>003:MindTrap 1.0</dcterms:title>
            <dcterms:identifier>3043e07f-869c-44b5-bbe7-5bcce432d186</dcterms:identifier>
         </fps:Element>
      </fps:memberElement>
      <fps:memberElement>
         <fps:Element
            rdf:about="http://ryman.torolab.ibm.com:6080/fp/resources/workspaces/3/modules/13/elements/18">
            <rdf:type
               rdf:resource="http://ryman.torolab.ibm.com:6080/fp/namespace/workspaces/3/modules/13/elements#Project" />
            <fps:isFolder rdf:datatype="http://www.w3.org/2001/XMLSchema#boolean">false</fps:isFolder>
            <fps:parentFolder
               rdf:resource="http://ryman.torolab.ibm.com:6080/fp/resources/workspaces/3/modules/13/elements/19" />
            <dcterms:title>004:MindTrap 2.0</dcterms:title>
            <dcterms:identifier>24240bf0-36a4-4d62-ae50-93397b9b9697</dcterms:identifier>
         </fps:Element>
      </fps:memberElement>
      <fps:memberElement>
         <fps:Element
            rdf:about="http://ryman.torolab.ibm.com:6080/fp/resources/workspaces/3/modules/13/elements/19">
            <rdf:type
               rdf:resource="http://ryman.torolab.ibm.com:6080/fp/namespace/workspaces/3/modules/13/elements#Project" />
            <fps:isFolder rdf:datatype="http://www.w3.org/2001/XMLSchema#boolean">true</fps:isFolder>
            <fps:parentFolder
               rdf:resource="http://ryman.torolab.ibm.com:6080/fp/resources/workspaces/3/modules/13/elements/14" />
            <fps:childElement
               rdf:resource="http://ryman.torolab.ibm.com:6080/fp/resources/workspaces/3/modules/13/elements/17" />
            <fps:childElement
               rdf:resource="http://ryman.torolab.ibm.com:6080/fp/resources/workspaces/3/modules/13/elements/18" />
            <dcterms:title>MindTrap</dcterms:title>
            <dcterms:identifier>d4503898-069b-47c3-a663-0c5107454eec</dcterms:identifier>
         </fps:Element>
      </fps:memberElement>
      <fps:memberElement>
         <fps:Element
            rdf:about="http://ryman.torolab.ibm.com:6080/fp/resources/workspaces/3/modules/13/elements/14">
            <rdf:type
               rdf:resource="http://ryman.torolab.ibm.com:6080/fp/namespace/workspaces/3/modules/13/elements#Project" />
            <fps:isFolder rdf:datatype="http://www.w3.org/2001/XMLSchema#boolean">true</fps:isFolder>
            <fps:childElement
               rdf:resource="http://ryman.torolab.ibm.com:6080/fp/resources/workspaces/3/modules/13/elements/16" />
            <fps:childElement
               rdf:resource="http://ryman.torolab.ibm.com:6080/fp/resources/workspaces/3/modules/13/elements/19" />
            <fps:childElement
               rdf:resource="http://ryman.torolab.ibm.com:6080/fp/resources/workspaces/3/modules/13/elements/15" />
            <dcterms:title>Projects</dcterms:title>
            <dcterms:identifier>643c7df6-c0d4-4125-ab71-038b0bb38173</dcterms:identifier>
         </fps:Element>
      </fps:memberElement>
      <fps:memberElement>
         <fps:Element
            rdf:about="http://ryman.torolab.ibm.com:6080/fp/resources/workspaces/3/modules/13/elements/15">
            <rdf:type
               rdf:resource="http://ryman.torolab.ibm.com:6080/fp/namespace/workspaces/3/modules/13/elements#Project" />
            <fps:isFolder rdf:datatype="http://www.w3.org/2001/XMLSchema#boolean">false</fps:isFolder>
            <fps:parentFolder
               rdf:resource="http://ryman.torolab.ibm.com:6080/fp/resources/workspaces/3/modules/13/elements/14" />
            <dcterms:title>001:Tsunami 1.0</dcterms:title>
            <dcterms:identifier>de13e016-1e9a-42d2-bccc-9d6bc56423dd</dcterms:identifier>
         </fps:Element>
      </fps:memberElement>
   </fps:Module>
</rdf:RDF>
Edit | WYSIWYG | Attach | Printable | Raw View | Backlinks: Web, All Webs | History: r5 | 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.