Class InMemoryExtensions
Inheritance
System.Object
InMemoryExtensions
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: VDS.RDF
Assembly: dotNetRdf.dll
Syntax
public static class InMemoryExtensions
Methods
| Improve this Doc View SourceExecuteQuery(IGraph, string)
Executes a SPARQL Query on a Graph.
Declaration
public static object ExecuteQuery(this IGraph g, string sparqlQuery)
Parameters
| Type | Name | Description |
|---|---|---|
| IGraph | g | Graph to query. |
| string | sparqlQuery | SPARQL Query. |
Returns
| Type | Description |
|---|---|
| System.Object |
ExecuteQuery(IGraph, IRdfHandler, ISparqlResultsHandler, string)
Executes a SPARQL Query on a Graph handling the results using the handlers provided.
Declaration
public static void ExecuteQuery(this IGraph g, IRdfHandler rdfHandler, ISparqlResultsHandler resultsHandler, string sparqlQuery)
Parameters
| Type | Name | Description |
|---|---|---|
| IGraph | g | Graph to query. |
| IRdfHandler | rdfHandler | RDF Handler. |
| ISparqlResultsHandler | resultsHandler | SPARQL Results Handler. |
| string | sparqlQuery | SPARQL Query. |
ExecuteQuery(IGraph, IRdfHandler, ISparqlResultsHandler, SparqlParameterizedString)
Executes a SPARQL Query on a Graph handling the results using the handlers provided.
Declaration
public static void ExecuteQuery(this IGraph g, IRdfHandler rdfHandler, ISparqlResultsHandler resultsHandler, SparqlParameterizedString sparqlQuery)
Parameters
| Type | Name | Description |
|---|---|---|
| IGraph | g | Graph to query. |
| IRdfHandler | rdfHandler | RDF Handler. |
| ISparqlResultsHandler | resultsHandler | SPARQL Results Handler. |
| SparqlParameterizedString | sparqlQuery | SPARQL Query. |
ExecuteQuery(IGraph, IRdfHandler, ISparqlResultsHandler, SparqlQuery)
Executes a SPARQL Query on a Graph handling the results using the handlers provided.
Declaration
public static void ExecuteQuery(this IGraph g, IRdfHandler rdfHandler, ISparqlResultsHandler resultsHandler, SparqlQuery query)
Parameters
| Type | Name | Description |
|---|---|---|
| IGraph | g | Graph to query. |
| IRdfHandler | rdfHandler | RDF Handler. |
| ISparqlResultsHandler | resultsHandler | SPARQL Results Handler. |
| SparqlQuery | query | SPARQL Query. |
ExecuteQuery(IGraph, SparqlParameterizedString)
Executes a SPARQL Query on a Graph.
Declaration
public static object ExecuteQuery(this IGraph g, SparqlParameterizedString sparqlQuery)
Parameters
| Type | Name | Description |
|---|---|---|
| IGraph | g | Graph to query. |
| SparqlParameterizedString | sparqlQuery | SPARQL Query. |
Returns
| Type | Description |
|---|---|
| System.Object |
ExecuteQuery(IGraph, SparqlQuery)
Executes a SPARQL Query on a Graph.
Declaration
public static object ExecuteQuery(this IGraph g, SparqlQuery query)
Parameters
| Type | Name | Description |
|---|---|---|
| IGraph | g | Graph to query. |
| SparqlQuery | query | SPARQL Query. |
Returns
| Type | Description |
|---|---|
| System.Object |