W3C home > Mailing lists > Public > public-rdf-wg@w3.org > October 2013

[Turtle CR Issue] PREFIX with postfix parameter

From: Eric Prud'hommeaux <eric@w3.org>
Date: Wed, 2 Oct 2013 08:45:42 -0400
To: RDF WG <public-rdf-wg@w3.org>
Message-ID: <20131002124541.GD1493@w3.org>
The 3rd Turtle CR comment requests a PREFIX directive with and
additional postfix parameter to avoid the proliferation of namespaces
for hash URLs, e.g.:

  PREFIX whiskey: <http://dbpedia.org/resource/Whiskey>
  PREFIX gin: <http://dbpedia.org/resource/Gin>

  :j :likes Whiskey:#x, Gin:#x .

The proposal for the new directive is:
  @pre db: ("http://dbpedia.org/resource/" _ "#x")
  :j :likes db:Whisky, db:Gin .

Proposed response: "The RDF Working Group has considered the utility
of your proposal against the added complexity stemming from the new
directive. We feel it is better to stay compatible with SPARQL and let
users take advantage of the new PN_LOCAL_ESC¹ feature permitting one to
embed '#' in a localhost name after an escape character, e.g.
db.Whiskey\#x ."

¹: http://www.w3.org/TR/turtle/#grammar-production-PN_LOCAL_ESC

Comments: <http://www.w3.org/2011/rdf-wg/wiki/Turtle_Candidate_Recommendation_Comments#Issues>                      
comment 3: http://www.w3.org/mid/9AFB9378-A712-4B30-871F-4D7CE53B3297@bblfish.net
-- 
-ericP
Received on Wednesday, 2 October 2013 12:46:16 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 17:04:33 UTC