This wiki is locked. Future workgroup activity and specification development must take place at our new wiki. For more information, see this blog post about the new governance model and this post about changes to the website.
OSLC_logo.png

Open Services for Lifecycle Collaboration
Requirements Management Specification Version 2.0 - Appendix A

This appendix is part of the OSLC Requirements Management Specification v2, which is in finalization phase meaning that only corrections and clarifications are allowed. You can help by reviewing carefully, raising issues for discussion on the OSLC RM WG mailing list. Issues are tracked via the OSLC RM v2 Issues page.

Status: 2.0 Specification - 31 March 2011

This Version

Latest Version PreviousVersion

Samples

In these examples, the server is running on https://doors.example.com:9443/ Click on the links to see the RDF/XML of these resources, along with a validation check that the RDF/XML is well-formed. The samples are attached to the wiki page.

Browsers don't render RDF/XML in a very user friendly manner. Try [[http://dig.csail.mit.edu/2007/tab/][Tabulator], OwlSight, RDF Gravity.

Discovery

ServiceProviderCatalog?

GET /RMCatalog

OSLC-Core-Version: 2.0

Accept: application/rdf+xml

RMCatalog.xml - Service Provider Catalogue

ServiceProvider?

GET/rm/discovery/_MMVuUKubEd-RtuHDdcBPAg/services.xml

OSLC-Core-Version: 2.0

Accept: application/rdf+xml

ServiceProvider.xml - Service Provider

Domain Resources

Requirement

Example Relationship properties

RDF/XML and XML example using reified statement:
<rdf:RDF 
     xmlns:dcterms="http://purl.org/dc/terms/" 
     xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
     xmlns:oslc_rm="http://open-services.net/ns/rm#">

    <oslc_rm:Requirement rdf:about="http://doors.example.com/reqs/1">
         <oslc_rm:implementedBy rdf:ID="link1"
             rdf:resource="http://rtc.example.com/wi/2" />
    </oslc_rm:Requirement>

    <rdf:Description rdf:about="#link1">
        <dcterms:title rdf:parseType="Literal">Task 2</dcterms:title>
   </rdf:Description>
</rdf:RDF>

JSON example using refied statement:

{  
   "prefixes" : {
      "dcterms"  : "http://purl.org/dc/terms/",
      "rdf"          : "http://www.w3.org/1999/02/22-rdf-syntax-ns#",
      "oslc"        : "http://open-services.net/ns/core#",
      "oslc_rm" : "http://open-services.net/ns/rm#"
   },
   "rdf:type" : [ { "rdf:resource" : "http://open-services.net/ns/rm#ChangeRequest" }],
   "rdf:about" : "http://doors.example.com/reqs/1",
   "oslc_rm:implementedBy" : { 
       "rdf:resource" : "http://rtc.example.com/wi/2",
       "dcterms:title " : "Task 2"
   }
}
Topic attachments
I Attachment Action Size Date Who Comment
xmlxml RMCatalog.xml manage 0.5 K 20 Aug 2010 - 11:14 IanGreen  
xmlxml ServiceProvider.xml manage 9.5 K 30 Aug 2010 - 15:29 IanGreen  
xmlxml req1.xml manage 2.5 K 25 Aug 2010 - 16:10 IanGreen  
Edit | Attach | Print version | History: r10 < r9 < r8 < r7 < r6 | Backlinks | Raw View | Raw edit | More topic actions...
Topic revision: r9 - 04 Apr 2011 - 13:21:54 - DaveJohnson
 
This site is powered by the TWiki collaboration platform Copyright � by the 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 this site? Send feedback