SemWeb.Remote.SparqlHttpSource

SemWeb : SemWeb.Remote Namespace
SparqlHttpSource Class

This class is used to access data remotely via the SPARQL Protocol.

public class SparqlHttpSource : SemWeb.QueryableSource, SparqlSource

#### Remarks

The SparqlHttpSource accesses remote data using the SPARQL Protocol over HTTP.

SPARQL has some serious limitations regarding blank nodes. Critically, a blank node returned by a SPARQL query cannot be referenced in future queries. As a result, blank nodes returned by calls to this source cannot be used in future select calls to this source.

## Members

See Also: Inherited members from object.

### Constructors

SparqlHttpSource (string) Creates a new SPARQL data source ready to connect to the SPARQL server at the given URL.

### Properties

Distinct [read-only] | bool . To be added.

### Methods

| Contains (SemWeb.Resource) : bool To be added.
| Contains (SemWeb.Statement) : bool To be added.
| MetaQuery (SemWeb.Statement[], SemWeb.Query.QueryOptions) : SemWeb.Query.MetaQueryResult To be added.
static | ParseSparqlResponse (System.IO.Stream, SemWeb.Query.QueryResultSink) To be added.
static | ParseSparqlResponse (System.IO.Stream, out bool) To be added.
| Query (SemWeb.Statement[], SemWeb.Query.QueryOptions, SemWeb.Query.QueryResultSink) To be added.
| RunSparqlQuery (string, SemWeb.Query.QueryResultSink) To be added.
| RunSparqlQuery (string, SemWeb.StatementSink) To be added.
| RunSparqlQuery (string, System.IO.TextWriter) To be added.
| RunSparqlQuery (string, out bool) To be added.
| Select (SemWeb.StatementSink) To be added.
| Select (SemWeb.SelectFilter, SemWeb.StatementSink) To be added.
| Select (SemWeb.Statement, SemWeb.StatementSink) To be added.

## Member Details

### SparqlHttpSource Constructor

public SparqlHttpSource (string url)

Creates a new SPARQL data source ready to connect to the SPARQL server at the given URL.

#### Parameters

url
  The URL to a SPARQL Protocol server.

#### Remarks

A new HTTP connection is created on each call to a method in this class.

### Contains Method

public bool Contains (SemWeb.Statement template)

To be added.

#### Parameters

template
  To be added.

#### Returns

To be added.

#### Remarks

To be added.

### Select Method

public void Select (SemWeb.StatementSink sink)

To be added.

#### Parameters

sink
  To be added.

#### Remarks

To be added.

### Select Method

public void Select (SemWeb.Statement template, SemWeb.StatementSink sink)

To be added.

#### Parameters

template
  To be added.
sink
  To be added.

#### Remarks

To be added.

### Select Method

public void Select (SemWeb.SelectFilter filter, SemWeb.StatementSink sink)

To be added.

#### Parameters

filter
  To be added.
sink
  To be added.

#### Remarks

To be added.

### Distinct Property

public bool Distinct { get; }

To be added.

#### Value

To be added.

#### Remarks

To be added.

### Contains Method

public bool Contains (SemWeb.Resource resource)

To be added.

#### Parameters

resource
  To be added.

#### Returns

To be added.

#### Remarks

To be added.

### MetaQuery Method

public SemWeb.Query.MetaQueryResult MetaQuery (SemWeb.Statement[] graph, SemWeb.Query.QueryOptions options)

To be added.

#### Parameters

graph
  To be added.
options
  To be added.

#### Returns

To be added.

#### Remarks

To be added.

### Query Method

public void Query (SemWeb.Statement[] graph, SemWeb.Query.QueryOptions options, SemWeb.Query.QueryResultSink sink)

To be added.

#### Parameters

graph
  To be added.
options
  To be added.
sink
  To be added.

#### Remarks

To be added.

### RunSparqlQuery Method

public void RunSparqlQuery (string sparqlQuery, SemWeb.Query.QueryResultSink selectResults)

To be added.

#### Parameters

sparqlQuery
  To be added.
selectResults
  To be added.

#### Remarks

To be added.

### RunSparqlQuery Method

public void RunSparqlQuery (string sparqlQuery, SemWeb.StatementSink statementResults)

To be added.

#### Parameters

sparqlQuery
  To be added.
statementResults
  To be added.

#### Remarks

To be added.

### RunSparqlQuery Method

public void RunSparqlQuery (string sparqlQuery, System.IO.TextWriter output)

To be added.

#### Parameters

sparqlQuery
  To be added.
output
  To be added.

#### Remarks

To be added.

### ParseSparqlResponse Method

public static void ParseSparqlResponse (System.IO.Stream sparqlResponse, SemWeb.Query.QueryResultSink queryResults)

To be added.

#### Parameters

sparqlResponse
  To be added.
queryResults
  To be added.

#### Remarks

To be added.

### ParseSparqlResponse Method

public static void ParseSparqlResponse (System.IO.Stream sparqlResponse, out bool askResult)

To be added.

#### Parameters

sparqlResponse
  To be added.
askResult
  To be added.

#### Remarks

To be added.

### RunSparqlQuery Method

public void RunSparqlQuery (string sparqlQuery, out bool askResult)

To be added.

#### Parameters

sparqlQuery
  To be added.
askResult
  To be added.

#### Remarks

To be added.