EditWYSIWYGAttachPrintable
r3 - 2012-04-27 - 16:01:55 - Main.rymanYou are here: TWiki >  LinkedData Web > FocalPointVocabulary > FPLinkedData > FPLinkedDataElementExample
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 Element Example

The URI of the 002:Tsunami 1.1 element resource in 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/16

XML

Here is an example element resource in XML format.

<?xml version="1.0" encoding="utf-8"?>
<ns:Project
   xmlns:ns="http://ryman.torolab.ibm.com:6080/fp/namespace/workspaces/3/modules/13/element"
   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/element http://ryman.torolab.ibm.com:6080/fp/resources/workspaces/3/modules/13/elements/element.xsd">
   <ns:alias>94c67a7c-5cdf-4952-b1ea-e6fe7cfc83d2</ns:alias>
   <ns:attributes>
      <ns:ID writable="false">
         <ns:uniqueId value="002"></ns:uniqueId>
         <ns:alias>14445207-2b8b-491e-bcc5-e7c7f5f05c10</ns:alias>
      </ns:ID>
      <ns:Title writable="true">
         <ns:text>
            <fp:textValue>Tsunami 1.1</fp:textValue>
            <fp:formattedTextValue>Tsunami 1.1</fp:formattedTextValue>
         </ns:text>
         <ns:alias>5681e8f9-e886-4d4c-98a3-bd0650376182</ns:alias>
         <ns:editLink
            href="http://ryman.torolab.ibm.com:6080/fp/resources/workspaces/3/modules/13/elements/16/attributes/224"></ns:editLink>
      </ns:Title>
      <ns:Description writable="true">
         <ns:text>
            <fp:textValue>This is a major enhancement of Tsunami 1.0. It
               supports real-time collaboration. Two or more remote players can
               work together to solve a puzzle.
</fp:textValue>
            <fp:formattedTextValue>This is a major enhancement of Tsunami 1.0.
               It supports real-time collaboration. Two or more remote players can
               work together to solve a puzzle.&lt;BR&gt;</fp:formattedTextValue>
         </ns:text>
         <ns:alias>80197a6d-c5bc-4277-a97d-7e69a1b151c0</ns:alias>
         <ns:editLink
            href="http://ryman.torolab.ibm.com:6080/fp/resources/workspaces/3/modules/13/elements/16/attributes/225"></ns:editLink>
      </ns:Description>
      <ns:type_is_a_folder writable="true">
         <ns:checkBox value="false" text="No"></ns:checkBox>
         <ns:alias>6d4a5ac7-5a3b-4676-895c-c81b059a9fcb</ns:alias>
         <ns:editLink
            href="http://ryman.torolab.ibm.com:6080/fp/resources/workspaces/3/modules/13/elements/16/attributes/226"></ns:editLink>
      </ns:type_is_a_folder>
      <ns:check_boxes_are_selected_in_the_chart
         writable="true">
         <ns:checkBox value="true" text="Yes"></ns:checkBox>
         <ns:alias>288ef792-7384-4b23-8ed1-4dadb8b76e9c</ns:alias>
         <ns:editLink
            href="http://ryman.torolab.ibm.com:6080/fp/resources/workspaces/3/modules/13/elements/16/attributes/227"></ns:editLink>
      </ns:check_boxes_are_selected_in_the_chart>
      <ns:Element_Information writable="false"></ns:Element_Information>
      <ns:Owner writable="true">
         <ns:linkValue title="Admin"></ns:linkValue>
         <ns:alias>1a10f595-7bd2-4b59-81c1-99c7cf517f55</ns:alias>
         <ns:editLink
            href="http://ryman.torolab.ibm.com:6080/fp/resources/workspaces/3/modules/13/elements/16/attributes/229"></ns:editLink>
      </ns:Owner>
      <ns:Creator writable="false">
         <ns:linkValue title="Admin"></ns:linkValue>
         <ns:alias>b6ad1fcd-bc70-49f3-a5e3-1ca08e885a40</ns:alias>
      </ns:Creator>
      <ns:Created_Date writable="false">
         <ns:date value="2011-04-28T08:17:28-04:00"></ns:date>
         <ns:alias>8db6b8cc-0cc3-416d-8463-31bbe6ff401d</ns:alias>
      </ns:Created_Date>
      <ns:Last_Changed_By writable="false">
         <ns:linkValue title="Admin"></ns:linkValue>
         <ns:alias>3649c591-1358-4424-960b-32f3aaadfbe5</ns:alias>
      </ns:Last_Changed_By>
      <ns:Last_Changed_Date writable="false">
         <ns:date value="2011-04-28T16:21:49-04:00"></ns:date>
         <ns:alias>91ab52c6-e213-4596-84b3-ce30f76e68cf</ns:alias>
      </ns:Last_Changed_Date>
      <ns:Parent_Folder writable="true">
         <ns:linkValue title="Projects">
            <fp:link
               href="http://ryman.torolab.ibm.com:6080/fp/resources/workspaces/3/modules/13/elements/14"
               rel="related"></fp:link>
         </ns:linkValue>
         <ns:alias>728a8272-6bc6-4f24-be68-f7f21de00a16</ns:alias>
         <ns:editLink
            href="http://ryman.torolab.ibm.com:6080/fp/resources/workspaces/3/modules/13/elements/16/attributes/234"></ns:editLink>
      </ns:Parent_Folder>
      <ns:isClosed writable="true">
         <ns:checkBox value="false" text="No"></ns:checkBox>
         <ns:alias>8e70dbf3-6fcb-43fa-9faf-3e4ac92c13b7</ns:alias>
         <ns:editLink
            href="http://ryman.torolab.ibm.com:6080/fp/resources/workspaces/3/modules/13/elements/16/attributes/235"></ns:editLink>
      </ns:isClosed>
   </ns:attributes>
   <ns:selfLink
      href="http://ryman.torolab.ibm.com:6080/fp/resources/workspaces/3/modules/13/elements/16"></ns:selfLink>
   <ns:mspLink
      href="http://ryman.torolab.ibm.com:6080/fp/resources/workspaces/3/modules/13/elements/16?format=mspxml"></ns:mspLink>
   <ns:htmlLink
      href="http://ryman.torolab.ibm.com:6080/fp/servlet/Login?go=3,16"></ns:htmlLink>
</ns:Project>

Turtle

Here is the generic RDF Turtle representation.

@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix dcterms: <http://purl.org/dc/terms/> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
@prefix fps: <http://schema.ibm.com/focalpoint/resources#> .

@base <http://ryman.torolab.ibm.com:6080/fp/resources/workspaces/3/modules/13/elements/16/attributes/> .

<http://ryman.torolab.ibm.com:6080/fp/resources/workspaces/3/modules/13/elements/16>
   a fps:Element ;
   dcterms:title "002:Tsunami 1.1" ;
   dcterms:identifier "94c67a7c-5cdf-4952-b1ea-e6fe7cfc83d2" ;
   fps:elementTypeName "Project" ;
   fps:mspLink <http://ryman.torolab.ibm.com:6080/fp/resources/workspaces/3/modules/13/elements/16?format=mspxml> ;
   fps:htmlLink <http://ryman.torolab.ibm.com:6080/fp/servlet/Login?go=3,16> ;
   fps:memberAttribute
      <223> , <224> , <225> , <226> , <227> , <228> , <229> ,
      <230> , <231> , <232> , <233> , <234> , <235> .
         
<223>
   a fps:Attribute ;
   fps:attributeName "ID" ;
   dcterms:identifier "14445207-2b8b-491e-bcc5-e7c7f5f05c10" ;
   fps:writeable false ;
   rdf:value <223#uniqueid> .
      
<223#uniqueid>
   a fps:UniqueId ; 
   fps:value "002" .

<224>
   a fps:Attribute ;
   fps:attributeName "Title" ;
   dcterms:identifier "5681e8f9-e886-4d4c-98a3-bd0650376182" ;
   fps:writeable true ;
   rdf:value <224#text> .

<224#text>
   a fps:Text ;
   fps:text """Tsunami 1.1""" ;
   fps:value """<span xmlns='http://www.w3.org/1999/xhtml'>Tsunami 1.1</span>"""^^rdf:XMLLiteral .

<225>
   a fps:Attribute ;
   fps:attributeName "Description" ;
   dcterms:identifier "80197a6d-c5bc-4277-a97d-7e69a1b151c0" ;
   fps:writeable true ;
   rdf:value <225#text> .

<225#text>   
   a fps:Text ;
   fps:text """This is a major enhancement of Tsunami 1.0. It
            supports real-time collaboration. Two or more remote players can
            work together to solve a puzzle.
""" ;
   fps:value """<div xmlns='http://www.w3.org/1999/xhtml'>This is a major enhancement of Tsunami 1.0.
            It supports real-time collaboration. Two or more remote players can
            work together to solve a puzzle.<br /></div>"""^^rdf:XMLLiteral .

<226>
   a fps:Attribute ;
   fps:attributeName "type_is_a_folder" ;
   dcterms:identifier "6d4a5ac7-5a3b-4676-895c-c81b059a9fcb" ;
   fps:writable true;
   rdf:value <226#checkbox> .

<226#checkbox>
   a fps:CheckBox ;
   fps:value false ;
   fps:text "No" .

<227>
   a fps:Attribute ;
   fps:attributeName "check_boxes_are_selected_in_the_chart" ;
   dcterms:identifier "288ef792-7384-4b23-8ed1-4dadb8b76e9c" ;
   fps:writable true ;
   rdf:value <227#checkbox> .

<227#checkbox>
   a fps:CheckBox ;
   fps:value true ;
   fps:text "Yes" .

<228>
   a fps:Attribute ;
   fps:attributeName "Element_Information" ;
   fps:writable false ;
   rdf:value <228#heading> .
   
<228#heading>
   a fps:Heading .

<229>
   a fps:Attribute ;
   fps:attributeName "Owner" ;
   dcterms:identifier "1a10f595-7bd2-4b59-81c1-99c7cf517f55" ;
   fps:writable true ;
   rdf:value <229#link> .
   
<229#link>
   a fps:Link ;
   fps:value <http://ryman.torolab.ibm.com:6080/fp/resources/workspaces/3/users/admin> .
      
<230>
   a fps:Attribute ;
   fps:attributeName "Creator" ;
   dcterms:identifier "b6ad1fcd-bc70-49f3-a5e3-1ca08e885a40" ;
   fps:writeable false ;
   rdf:value <230#link> .

<230#link>   
   a fps:Link ;
   fps:value <http://ryman.torolab.ibm.com:6080/fp/resources/workspaces/3/users/admin> .
      
<231>
   a fps:Attribute ;
   fps:attributeName "Created_Date" ;
   dcterms:identifier "8db6b8cc-0cc3-416d-8463-31bbe6ff401d" ;
   fps:writable false ;
   rdf:value <231#date> .

<231#date>   
   a fps:Date ;
   fps:value "2011-04-28T08:17:28-04:00"^^xsd:dateTime .
      
<232>
   a fps:Attribute ;
   fps:attributeName "Last_Changed_By" ;
   dcterms:identifier "3649c591-1358-4424-960b-32f3aaadfbe5" ;
   fps:writable false ;
   rdf:value <232#link> .

<232#link>
   a fps:Link ;
   fps:value <http://ryman.torolab.ibm.com:6080/fp/resources/workspaces/3/users/admin> .
      
<233>
   a fps:Attribute ;
   fps:attributeName "Last_Changed_Date" ;
   dcterms:identifier "91ab52c6-e213-4596-84b3-ce30f76e68cf" ;
   fps:writable false ;
   rdf:value <233#date> .

<233#date>   
   a fps:Date ;
   fps:value "2011-04-28T16:21:49-04:00"^^xsd:dateTime .

<234>
   a fps:Attribute ;
   fps:attributeName "Parent_Folder" ;
   dcterms:identifier "728a8272-6bc6-4f24-be68-f7f21de00a16" ;
   fps:writable true ;
   rdf:value <234#link> .

<234#link>
   a fps:Link ;
   fps:value <http://ryman.torolab.ibm.com:6080/fp/resources/workspaces/3/modules/13/elements/14> .

<235>
   a fps:Attribute ;
   fps:attributeName "isClosed" ;
   dcterms:identifier "8e70dbf3-6fcb-43fa-9faf-3e4ac92c13b7" ;
   fps:writable true ;
   rdf:value <235#checkbox> .

<235#checkbox>   
   a fps:CheckBox ;
   fps:value false ; 
   fps:text "No" .
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.