SKOS query in SPARQL 1.1

Hello SKOS people,

http://www.snee.com/bobdc.blog/2010/10/playing-more-with-sparql-11-pr.html
from Bob DuCharme might be of interest.

"Playing more with SPARQL 1.1 property paths"

It describes some new language features in SPARQL (along with their
implementation in ARQ, Jena's query engine; Java software).

The new SPARQL draft includes a 'property paths' feature,
http://www.w3.org/TR/2010/WD-sparql11-query-20101014/#propertypaths

"A property path is a possible route through a graph between two graph
nodes. A trivial case is a property path of length exactly 1, which is
a triple pattern. Property paths allow for more concise expression of
some SPARQL basic graph patterns and also add the ability to match
arbitrary length paths. The ends of the path may be RDF terms or
variables. Variables can not be used as part of the path itself, only
the ends. Query evaluation determines all matches of a path expression
and binds subject or object as appropriate."

This should lend itself to SKOS (and Bob reports some success there),
since we often have hierarchies of skos:broader to traverse. If anyone
experiments with this, I'm sure everyone here would be happy to see
some summary and sample queries. The SPARQL Working Group might
appreciate feedback too.

cheers,

Dan

Received on Saturday, 16 October 2010 10:04:23 UTC