ISSUE-59: DataQuery support for other query languages

DataQuery is limited

DataQuery support for other query languages

State:
CLOSED
Product:
RDFa 1.1 API
Raised by:
Nathan Rixham
Opened on:
2010-10-28
Description:
Currently the API documentation for DataQuery opens with the following statement:

"The DataQuery interface provides a means to query a DataStore. While this interface provides a simple mechanism for querying a DataStore for RDFa, it is expected that developers will implement other query interfaces that conform to this DataQuery interface for languages like SPARQL or other Domain Specific Language."

However the interface currently does not cater for this:

[NoInterfaceObject]
interface DataQuery {
attribute DataStore store;
Sequence select (in Object? query, in optional Object template);
};

Typically a DataQuery implementation for languages such as SPARQL will require the following interface:

[NoInterfaceObject]
interface DataQuery {
Sequence select (in DOMString query, in DataStore store);
};

However this is incompatible with the existing DataQuery interface, as query is a string and template is entirely missing.

Libraries implementing the API which required addition properties could either extend DataQuery adding more properties (such as ?template) or expose methods to add these ( setTemplate(template) ) - however if this is a requirement of the RDFa API then we need to address this fully creating an interface that can be used for RDFa API requirements, and which is implementable by libraries providing functionality such as SPARQL.
Related Actions Items:
No related actions
Related emails:
  1. PROPOSAL to close ISSUE-59: DataQuery support for other query languages (from msporny@digitalbazaar.com on 2011-01-02)
  2. Closing RDFa API issues (from msporny@digitalbazaar.com on 2011-01-01)
  3. ISSUE-59: DataQuery [RDFa 1.1 API] (from sysbot+tracker@w3.org on 2010-10-28)

Related notes:

Closing the issue after no objections to the latest PROPOSAL to close the issue.

Manu Sporny, 13 Jan 2011, 01:23:42

Display change log ATOM feed


Chair, Staff Contact
Tracker: documentation, (configuration for this group), originally developed by Dean Jackson, is developed and maintained by the Systems Team <w3t-sys@w3.org>.
$Id: 59.html,v 1.1 2015/03/27 14:12:25 vivien Exp $