View Management

Dydra extends the W3C SPARQL HTTP Protocol to include two resources ancillary to each SPARQL endpoint to manage the endpoint’s views. For an endpoint,

http://dydra.com/<account-name>/<repository-name>/sparql

resources are available to return the query text and metadata as well as a list of defined views.

Single View Operations

GET

A GET request to the view management location retrieves the view expression with its metadata. This request form specifies the view metadata location :

http://dydra.com/system/accounts/<account-name>/repositories/<repository-name>/<view>

Headers

Accept: specifies the response document media type.
application/sparql-results : results variants yields the full metadata including the text
Revision: specifies the target revision

Index Operations

GET

A GET request to the view index location retrieves a list of views. This request form specifies the view index location :

http://dydra.com/system/accounts/<account-name>/repositories/<repository-name>/views

Headers

Accept: specifies the response document media type.
application/sparql-results : results variants yields the full metadata including the text