W3C home > Mailing lists > Public > public-rdf-dawg@w3.org > January to March 2005

SPARQL Abstract Syntax

From: Seaborne, Andy <andy.seaborne@hp.com>
Date: Mon, 21 Mar 2005 21:22:16 +0000
Message-ID: <423F3B08.7030403@hp.com>
To: 'RDF Data Access Working Group' <public-rdf-dawg@w3.org>

(This is without any assumptions on the question of whether to have an XML 
syntax or not.)

An abstract syntax means, to me, a way to write down the key concepts of the 
QL without getting into the detail of a particular serilaization.

A quick guess at an abstract syntax - this is pretty much a direct recording 
of the way that rq23 sets up queries:

query (
    type = one of ( select , construct , describe , ask)
      select(vars or * , distinct?)
      construct (triple template, triple template, ...)
      describe(list of var or uri)
      basic(triple pattern, triple pattern, ...)
      union(pattern, pattern, ...)
      filter(constraint expression)
    order(order condition, order condition, ...)

I'd assume that any concrete syntax has extra features (e.g. prefixes) which 
it would want to add to the mix.

Received on Monday, 21 March 2005 21:22:55 UTC

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