W3C home > Mailing lists > Public > public-rdf-dawg@w3.org > April to June 2006

Display the structure of a SPARQL query

From: Seaborne, Andy <andy.seaborne@hp.com>
Date: Mon, 12 Jun 2006 11:05:50 +0100
Message-ID: <448D3C7E.7010500@hp.com>
To: RDF Data Access Working Group <public-rdf-dawg@w3.org>

I've just put up a new feature that will display the structure of a SPARQL query:

http://www.sparql.org/validator.html

If you ask for the abstract format (not the default), then the query string 
will be parsed and the abstract tree generated by ARQ is displayed.  The 
format is representative - it is not meant to be a formal notation (there 
isn't a parser for it for example).

This is the abstract tree built by ARQ when parsing (useful for debugging ARQ 
itself) - it tries to be as close as possible to the abstract structure of a 
SPARQL query.  It is not the low-level parse tree.

There is no requirement that every implementation generate such a thing - in 
the past ARQ has more generated structures more directly related to the 
execution but now it generates this internal structure, then transforms it to 
an execution plan later.

	Hope this helps,
	Andy
Received on Monday, 12 June 2006 10:06:02 GMT

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