SPARQL/Extensions/Lists

From W3C Wiki
Jump to: navigation, search

RDF lists are tough to query in standard SPARQL. In particular, there is no easy way to issue a simple query such as

 Retrieve all members of ex:list in order.

The DAWG postponed this issue in February, 2005.

Existing implemented approaches to this:

  • ARQ supports list:member and rdfs:member (list:member is <http://www.jena.hpl.hp.com/ARQ/list#member>) as computed properties that relates an RDF list (for list:member) or an RDF container (for rdfs:member) to its member items.
  • cwm supports list:in (<http://www.w3.org/2000/10/swap/list#>) which relates an item to a list that contains it. (This is the inverse relation of ARQ's list:member.)