Open Services for Lifecycle Collaboration
Requirements Management Specification Version 2.0 - Appendix A
This appendix is part of the OSLC Requirements Management Specification version 2.0, 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 Requirements Management 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 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"
}
}
Attachments