[oslc-core] Question on oslc.properties
    Arthur Ryman 
    ryman at ca.ibm.com
       
    Thu Mar 15 18:58:06 EDT 2012
    
    
  
Ian,
The behavior you describe is correct. If you want nested properties, you 
need to request them explicitly. The fact that some node is blank should 
not alter the semantics of the query language. 
I think it is more reasonable to return a CBD when you request the 
resource /req/r1
Regards, 
___________________________________________________________________________ 
Arthur Ryman 
DE, PPM & Reporting Chief Architect
IBM Software, Rational 
Toronto Lab | +1-905-413-3077 (office) | +1-416-939-5063 (mobile) 
From:
Ian Green1 <ian.green at uk.ibm.com>
To:
oslc-core at open-services.net
Cc:
Brett Graf <brett.graf at uk.ibm.com>
Date:
03/14/2012 10:11 AM
Subject:
[oslc-core] Question on oslc.properties
Sent by:
oslc-core-bounces at open-services.net
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 
_______________________________________________
Oslc-Core mailing list
Oslc-Core at open-services.net
http://open-services.net/mailman/listinfo/oslc-core_open-services.net
    
    
More information about the Oslc-Core
mailing list