GraphExtensionsExecuteQuery Method (IGraph, SparqlQuery) |
Executes a SPARQL Query on a Graph.
Namespace:
VDS.RDF
Assembly:
dotNetRDF (in dotNetRDF.dll) Version:
Syntax public static Object ExecuteQuery(
this IGraph g,
SparqlQuery query
)
<ExtensionAttribute>
Public Shared Function ExecuteQuery (
g As IGraph,
query As SparqlQuery
) As Object
Parameters
- g
- Type: VDS.RDFIGraph
Graph to query. - query
- Type: VDS.RDF.QuerySparqlQuery
SPARQL Query.
Return Value
Type:
Object[Missing <returns> documentation for "M:VDS.RDF.GraphExtensions.ExecuteQuery(VDS.RDF.IGraph,VDS.RDF.Query.SparqlQuery)"]
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