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 .

This topic: LinkedData > FocalPointVocabulary > FPLinkedData > FPLinkedDataAttributeExample
History: r5 - 2014-02-22 - 17:09:45 - 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.