[oslc-core] Core Specification Version 2.0 Query Syntax: Prefixed Names

Steven B Pitschke pitschke at us.ibm.com
Fri Jun 29 13:07:48 EDT 2012


The core query specification

        http://open-services.net/bin/view/Main/OSLCCoreSpecQuery

defers to the SPAQL specifction for Prefixed Names

        PrefixedName  ::= /* see "SPARQL Query Language for RDF", 
http://www.w3.org/TR/rdf-sparql-query/#rPrefixedName */

However, the semantics and usefulness of some the allowed terminals are 
not clear
to me:

[68] PrefixedName := PNAME_LN  |  PNAME_NS

[71] PNAME_NS := PN_PREFIX? ':'
[72] PNAME_LN := PNAME_NS PN_LOCAL


For example, what would the prefixed names of ":", "dcterms:" or 
":comment" mean?   I think
it would be better to only support

        PrefixedName := ( PN_PREFIX ':' PN_LOCAL ) | PN_LOCAL

which have fairly clear semantics.

Steve Pitschke
Senior Software Engineer and Architect
Rational Software, IBM
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://open-services.net/pipermail/oslc-core_open-services.net/attachments/20120629/40e3c563/attachment-0003.html>


More information about the Oslc-Core mailing list