[OSLC] Request for Comment on Common Query Syntax V1
Arthur Ryman
ryman at ca.ibm.com
Fri Nov 6 10:20:19 EST 2009
I moved the spec out of the Sandbox and onto the Main wiki at [1]. I'd
like to discuss the following points:
1. Semantics of the query syntax: I suggest we give the semantics in terms
of RDF. Here RDF is used to describe the underlying data model, i.e. we
assume that all OSLC specs describe the data model of their resources
using RDF. The representation returned can be any format, e.g. JSON. We do
not require an implementation to use RDF natively. We define standard
mappings from RDF to other formats, e.g. JSON.
2. Nested properties. The CM version allowed nested properties via {}.
This is very useful, both for query and inlining of results. I suggest we
add this to the spec.
3. The query parameter names. The CM spec used oslc_cm:query and
oslc_cm:properties for what are essentially the WHERE and SELECT clauses
of a query, i.e. oslc_cm:query is like the WHERE clause and
oslc_cm:properties is like the SELECT clause. Since query is an overloaded
term, I suggest we use oslc:select and oslc:where for these parameters, or
oslc_select and oslc_where if you don't like colons.
[1] http://open-services.net/bin/view/Main/OslcQuerySyntaxV1
Arthur Ryman, IBM DE
Chief Architect, Rational Project and Portfolio Management
Office: 905-413-3077, Cell: 416-939-5063
Assistant: Nancy Barnes, 905-413-4182
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://open-services.net/pipermail/community_open-services.net/attachments/20091106/c6110f9e/attachment-0003.html>
More information about the Community
mailing list