[oslc-core] Question on oslc.properties

Ian Green1 ian.green at uk.ibm.com
Wed Mar 14 10:05:40 EDT 2012


Would someone confirm/clarify the behaviour of oslc.properties in the case 
of resources containing blank nodes?


Consider the following RDF (turtle):

@prefix dc: <http://purl.org/dc/terms/>.
@prefix oslc_rm: <http://open-services.net/ns/rm#>.
@prefix foaf: <http://xmlns.com/foaf/0.1/>.
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>.
@prefix doors: <http://doors.example.com/req/>.

doors:r1 a oslc_rm:Requirement;
   dc:title "Title";
   dc:contributor [ a foaf:Person; foaf:givenName "caligula" ].


The following request
GET /req/r1?oslc.properties=*
Host: doors.example.com

Will return the following RDF:
@prefix dc: <http://purl.org/dc/terms/>.
@prefix oslc_rm: <http://open-services.net/ns/rm#>.
@prefix foaf: <http://xmlns.com/foaf/0.1/>.
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>.
@prefix doors: <http://doors.example.com/req/>.

doors:r1 a oslc_rm:Requirement;
   dc:title "Title";
   dc:contributor [ ].


Which is not really that useful.   Nested properties could be requested 
but this may include more information that desired.  Beyond V2, what might 
be more useful is a concise bounded description [1] of the blank node to 
be included in the response. 

Any comments or clarifications?

[1] http://www.w3.org/Submission/2004/SUBM-CBD-20040930/

best wishes,
    -ian

ian.green at uk.ibm.com (Ian Green1/UK/IBM at IBMGB)
Chief Software Architect, Requirements Definition and Management
IBM Rational





Unless stated otherwise above:
IBM United Kingdom Limited - Registered in England and Wales with number 
741598. 
Registered office: PO Box 41, North Harbour, Portsmouth, Hampshire PO6 3AU





-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://open-services.net/pipermail/oslc-core_open-services.net/attachments/20120314/e9a5ac63/attachment.html>


More information about the Oslc-Core mailing list