r5 - 2014-02-22 - 17:09:45 - Main.rymanYou are here: TWiki >  LinkedData Web > FocalPointVocabulary > FPLinkedData > FPLinkedDataAttributeExample
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 Attribute Example

The URI of the Title attribute 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/attributes/224

XML

Here is an example element resource in XML format.

<?xml version="1.0" encoding="utf-8"?>
<ns:Title
   xmlns:ns="http://ryman.torolab.ibm.com:6080/fp/namespace/workspaces/3/modules/13/attribute"
   xmlns:fp="http://schema.ibm.com/focalpoint/resources" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
   writable="true"
   xsi:schemaLocation="http://ryman.torolab.ibm.com:6080/fp/namespace/workspaces/3/modules/13/attribute http://ryman.torolab.ibm.com:6080/fp/resources/workspaces/3/modules/13/elements/16/attributes/224/attribute.xsd">
   <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>

Turtle

Here is the 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/> .

<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 .
Edit | WYSIWYG | Attach | Printable | Raw View | Backlinks: Web, All Webs | History: r5 < r4 < r3 < r2 < r1 | More topic actions
LinkedData.FPLinkedDataAttributeExample moved from Main.FPLinkedDataAttributeExample on 2014-02-22 - 17:09 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.