SPARQL First Draft

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.

About Ian Davis

British entrepreneur and CEO of Kasabi. Primary interests are open data, the semantic web and decentralization.
This entry was posted in Uncategorized and tagged . Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s