W3C home > Mailing lists > Public > public-rdf-dawg@w3.org > July to September 2010

Re: a minor thing... prefix syntax

From: Andy Seaborne <andy.seaborne@talis.com>
Date: Tue, 20 Jul 2010 14:55:24 +0100
Message-ID: <4C45AACC.2070104@talis.com>
To: Axel Polleres <axel.polleres@deri.org>
CC: SPARQL Working Group <public-rdf-dawg@w3.org>
Because it's not @SELECT @WHERE @OPTIONAL @FILTER @ORDER_BY.

Because @prefix is syntactically a language tag and using @ to trigger 
that gets us the greatest coverage for parsers.

(The question I have is is why N3 has @prefix given that N3 qnames must 
always have a ':' in them and @ is the marker for language tag.)

	Andy

On 20/07/2010 2:46 PM, Axel Polleres wrote:
> <excplicitchairhatoff>
>
> asking mainly those with historical knowledge...
>
> was it ever discussed whether to alternatively allow TURTLE style prefix declarations in SPARQL, i.e.
>
>
> @prefix ns:<http://example.org/ns#>  .
>
> instead of
>
> PREFIX ns:<http://example.org/ns#>
>
> ?
>
> It doesn't seem to be a major threat to the grammar for me and would ease copy paste in many cases...
> ... I know it is not directly in scope and if there is disagreement on it, I won't mention it further, but just thought it would be nice
>
> </excplicitchairhatoff>
>
>
>
>
>
> Please consider the environment before printing this email.
>
> Find out more about Talis at http://www.talis.com/
> shared innovation™
>
> Any views or personal opinions expressed within this email may not be those of Talis Information Ltd or its employees. The content of this email message and any files that may be attached are confidential, and for the usage of the intended recipient only. If you are not the intended recipient, then please return this message to the sender and delete it. Any use of this e-mail by an unauthorised recipient is prohibited.
>
> Talis Information Ltd is a member of the Talis Group of companies and is registered in England No 3638278 with its registered office at Knights Court, Solihull Parkway, Birmingham Business Park, B37 7YB.
Received on Tuesday, 20 July 2010 13:55:52 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 16:15:43 GMT