Oct 13 2004

SPARQL First Draft

Published by Ian Davis at 10:02 am under Uncategorized and tagged as

The first draft of SPARQL Query Language for RDF has been issued. Understandably there are huge gaps in the text, but it looks very promising. The syntax is of the RDQL/SquishQL stable. However, it includes something that I’ve always felt was lacking from previous query languages – the capability to return graphs instead of lists of bound variables. There are four query forms:

SELECT
This form is the standard bound variable list, returned as XML or an as-yet-to-be-defined RDF/XML format.
CONSTRUCT
This form returns a graph of the results. You can use an asterisk to specify that the graph consists of all the matching triples, or provide a graph template.
DESCRIBE
This is a bit hazy, but the text suggests that something like CBDs will be returned for the results.
ASK
This is an efficient way of testing whether anything matches in the graph without having to perform all the backtracking to return all the results

Of course, these can and will probably change but I’m going to be watching developments with great interest.

Comments Off

Comments are automatically turned off two weeks after the original post. If you have a question concerning the content of this post, please feel free to contact me.