Show / Hide Table of Contents

Class InMemoryExtensions

Extension methods for working with a IGraph instance as an in-memory queryable SPARQL dataset.

Inheritance
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

| Edit this page View Source

ExecuteQuery(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
object
| Edit this page View Source

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.

| Edit this page View Source

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.

| Edit this page View Source

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.

| Edit this page View Source

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
object
| Edit this page View Source

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
object
  • Edit this page
  • View Source
In this article
  • Methods
    • ExecuteQuery(IGraph, string)
    • ExecuteQuery(IGraph, IRdfHandler, ISparqlResultsHandler, string)
    • ExecuteQuery(IGraph, IRdfHandler, ISparqlResultsHandler, SparqlParameterizedString)
    • ExecuteQuery(IGraph, IRdfHandler, ISparqlResultsHandler, SparqlQuery)
    • ExecuteQuery(IGraph, SparqlParameterizedString)
    • ExecuteQuery(IGraph, SparqlQuery)
Back to top Generated by DocFX