[OSLC-ArchMgmt] Suggestions for link resource

James Conallen jconallen at us.ibm.com
Fri Oct 23 17:05:57 EDT 2009



Looking over the details of the link resource currently proposed for OSLC
RM (and currently suggested for OSLC AM as well). I have some minor changes
I'd like to propose.
First, is to make a distinction between the original creator of a resource,
and the most recent modifier of it.   The Jazz storage services currently
make this information available, and use these DC terms for them.

Also instead of allowing free form creators and dates, we say that a
creator or contributor can be referenced with a URI,

<rdf:RDF
      xmlns:oslc="http://open-services.net/xmlns/common/1.0/"
      xmlns:dc="http://purl.org/dc/terms/"
      xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"


      <oslc:Link rdf:about="http://www.example.com/resources/links/link1">
            <rdf:subject. rdf:resource=
"http://www.example.com/resources/requirement55" />
            <rdf:object rdf:resource=
"http://www.example.com/resources/workitem24" />
            <rdf:predicate rdf:resource=
"http://www.example.com/types/implementedBy" />

            <dc:creator rdf:resource="http://example.com/users/developer1"
/>
            <dc:created rdf:datatype=
"http://www.w3.org/2001/XMLSchema#dateTime">
                  2009-10-20T19:49:47-04:00
            </dc:created>

            <dc:contributor rdf:resource="http://example.com/users/admin1"
/>
            <dc:modified rdf:datatype=
"http://www.w3.org/2001/XMLSchema#dateTime">
                  2009-10-20T19:49:47-04:00
            </dc:modified>

      </:oslc:Link>
</rdf:RDF>


 or allow the use of FOAF vocabulary (second example),

<rdf:RDF
      xmlns:oslc="http://open-services.net/xmlns/common/1.0/"
      xmlns:dc="http://purl.org/dc/terms/"
      xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"


      <oslc:Link rdf:about="http://www.example.com/resources/links/link1">
            <rdf:subject. rdf:resource=
"http://www.example.com/resources/requirement55" />
            <rdf:object rdf:resource=
"http://www.example.com/resources/workitem24" />
            <rdf:predicate rdf:resource=
"http://www.example.com/types/implementedBy" />

            <dc:creator rdf:resource="http://example.com/users/developer1">
                <foaf:name>Dan Developer</foaf:name>
                <foaf:mbox rdf:resource="mailto:admin1 at example.com" />
                <foaf:img rdf:resource=
"http://example.com/users/developer1/photo"/>
            </dc:creator>
            <dc:created rdf:datatype=
"http://www.w3.org/2001/XMLSchema#dateTime">
                  2009-10-20T19:49:47-04:00
            </dc:created>

            <dc:contributor rdf:resource="http://example.com/users/admin1">
                <foaf:name>Adam: Administrator</foaf:name>
                <foaf:mbox rdf:resource="mailto:admin1 at example.com" />
                <foaf:img rdf:resource=
"https://example.com/users/admin1/photo"/>
            </dc:contributor>
            <dc:modified rdf:datatype=
"http://www.w3.org/2001/XMLSchema#dateTime">
                  2009-10-20T19:49:47-04:00
            </dc:modified>

      </:oslc:Link>
</rdf:RDF>


<jim/>

jim conallen
jconallen at us.ibm.com
Rational Software, IBM Software Group
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://open-services.net/pipermail/oslc-am_open-services.net/attachments/20091023/6824cfb3/attachment-0003.html>


More information about the Oslc-Am mailing list