SemWeb: SemWeb.Query

SemWeb
SemWeb.Query Namespace

## Namespace

Two implementations of the abstract SemWeb.Query.Query class are provided in this namespace. A Query class implements an algorithm to return all of the ways a set of variables may bind to resources in a SemWeb.Store, subject to different types of constraints.

The SemWeb.Query.GraphMatch class implements a basic graph-matching algorithm. This algorithm takes two graphs and matches the variables in the query graph to resources in the target graph. Each of the ways a variable can bind to a resource is returned as a SemWeb.Query.VariableBindings instance.

The SemWeb.Query.Sparql class implements the SPARQL query specification. This class wraps the SPARQL Engine for Sesame found at http://sparql.sf.net (via IKVM).

Type | Description
--- | ---
GraphMatch | The GraphMatch class implements an algorithm for determining all of the ways the variables in one graph can be bound to resources in another graph.
MetaQueryResult | This structure is used by SemWeb.QueryableSource.MetaQuery(SemWeb.Statement[],SemWeb.Query.QueryOptions) when asking for the querying capabilities of a data source.
Query | A Query is something that returns all of the ways a set of variables may bind to a graph. This is the abstract base class of several query methods.
QueryExecutionException | This exception may be thrown during the execution of a query.
QueryFormatException | This exception may be thrown while parsing or initializing a query.
QueryOptions | A structure specifying options for carrying out a query.
QueryResultBuffer | A buffer for results of a query.
QueryResultSink | A class that receives the results of a query.
RdfFunction | To be added.
SparqlEngine | A SPARQL query engine.
SparqlEngine.QueryType | The types of a SPARQL query.
SparqlProtocolServerHandler | Implements a SPARQL Protocol server for ASP.NET.
SparqlXmlQuerySink | A QueryResultSink outputting results in the SPARQL output XML format.
VariableBindings | Represents a row of results from a query.

See http://razor.occams.info/code/semweb.