W3C home > Mailing lists > Public > public-esw-thes@w3.org > October 2010

SKOS query in SPARQL 1.1

From: Dan Brickley <danbri@danbri.org>
Date: Sat, 16 Oct 2010 12:03:49 +0200
Message-ID: <AANLkTimVW2g7+Aqp6va=B+GLupgZpTVFWPcANo-66ipi@mail.gmail.com>
To: SKOS <public-esw-thes@w3.org>
Cc: bducharme@topquadrant.com
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

This archive was generated by hypermail 2.3.1 : Wednesday, 2 March 2016 13:32:14 UTC