r5 - 2014-02-22 - 17:14:47 - Main.rymanYou 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.

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/> .

<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 ;
   fps:elementTypeName "Project" ;
   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 ;
   fps:elementTypeName "Project" ;
   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 ;
   fps:elementTypeName "Project" ;
   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 ;
   fps:elementTypeName "Project" ;
   dcterms:title "MindTrap" ;
   dcterms:identifier "d4503898-069b-47c3-a663-0c5107454eec" ;
   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> .
      
<http://ryman.torolab.ibm.com:6080/fp/resources/workspaces/3/modules/13/elements/14>
   a fps:Element ;
   fps:elementTypeName "Project" ;
   dcterms:title "Projects" ;
   dcterms:identifier "643c7df6-c0d4-4125-ab71-038b0bb38173" ;
   fps:childElement
      <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> ,
      <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>
   a fps:Element ;
   fps:elementTypeName "Project" ;
   dcterms:title "001:Tsunami 1.0" ;
   dcterms:identifier "de13e016-1e9a-42d2-bccc-9d6bc56423dd" .
Edit | WYSIWYG | Attach | Printable | Raw View | Backlinks: Web, All Webs | History: r5 < r4 < r3 < r2 < r1 | More topic actions
LinkedData.FPLinkedDataIndexTreeExample moved from Main.FPLinkedDataIndexTreeExample on 2014-02-22 - 17:14 by Main.ryman -
 
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.