W3C home > Mailing lists > Public > public-rdf-dawg-comments@w3.org > March 2009

Suggestion: Query By Reference

From: Leigh Dodds <leigh.dodds@talis.com>
Date: Fri, 6 Mar 2009 09:59:58 +0000
Message-ID: <f323a4470903060159r3c8b9e8fw7bcdf19322b3c92f@mail.gmail.com>
To: public-rdf-dawg-comments@w3.org
Hi,

I have the following feature suggestion for the WG:

Feature: Query By Reference

Feature Description:

  Extend the SPARQL protocol to allow queries to be referenced by URL
rather than being included in the query string.

  The query would be found by dereferencing the supplied URL and
parsing the results.

  Just as an endpoint may decide to not process a query if its dataset
is unacceptable (e.g. if query is over arbitrary
  data and endpoint used a fixed data set), the endpoint might also
choose to not process queries of this form. This
  allows developers to address concerns over the protocol being used
as a vector for potential DoS attacks. Caching of
  retrieved queries would also mitigate this.

Example:

E.g:

  /sparql?query-uri=http://www.example.org/queries/test.rq

Existing Implementations:

  I have implemented support for this in the XMLArmyKnife endpoint
(http://xmlarmyknife.com/docs/rdf/sparql)

Use Cases:

Allow queries to be more easily published and shared between developers.

Cheers,

L.

-- 
Leigh Dodds
Programme Manager, Talis Platform
Talis
leigh.dodds@talis.com
http://www.talis.com
Received on Friday, 6 March 2009 10:00:43 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 6 March 2009 10:00:44 GMT