SPARQL End Point Self Description

Orri Erling

This page summarizes and develops upon conversations on the subject at ISWC 2006.

Use Cases

Self-description of end points may serve at least the following purposes:

We will look at each one in turn.

End Point Data and Capabilities

Content Discovery

Query Planning

The end point should give a ballpark cardinality for the following combinations of G, S, P, O.

Based on our experience, these are the most interesting questions but for completeness, the entry point might offer an API allowing specifying a constant or wildcard for each of the four parts of a quad. If the information is not readily available, "unknown" could be returned, together with the count of triples in the whole end point or the graph, if the graph is specified. Even if the end point does not support real time sampling of data for cardinality estimates, it would at least have an idea of the count of triples per graph, which is still far better than nothing.

Query Feasibility

Given the full SPARQL request, the end point could return the following data, without executing the query itself.

All these elements would be optional.

This somewhat overlaps with the optimization questions but it may still be the case that it is more efficient to support a special interface for the optimization related questions.

SparqlEndpointDescription2 (last edited 2006-11-20 20:19:06 by 217)