Click or drag to resize

GraphExtensionsExecuteQuery Method (IGraph, SparqlParameterizedString)

Executes a SPARQL Query on a Graph.

Namespace:  VDS.RDF
Assembly:  dotNetRDF (in dotNetRDF.dll) Version:
Syntax
public static Object ExecuteQuery(
	this IGraph g,
	SparqlParameterizedString sparqlQuery
)

Parameters

g
Type: VDS.RDFIGraph
Graph to query.
sparqlQuery
Type: VDS.RDF.QuerySparqlParameterizedString
SPARQL Query.

Return Value

Type: Object

[Missing <returns> documentation for "M:VDS.RDF.GraphExtensions.ExecuteQuery(VDS.RDF.IGraph,VDS.RDF.Query.SparqlParameterizedString)"]

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IGraph. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also