Class SparqlDescriber
Wrapper class that implements the ISparqlDescribe interface for describing SPARQL query results by delegating to a IDescribeAlgorithm implementation to do the extraction from the query dataset.
Implements
Inherited Members
Namespace: VDS.RDF.Query.Describe
Assembly: dotNetRdf.dll
Syntax
public class SparqlDescriber : ISparqlDescribe
Constructors
| Edit this page View SourceSparqlDescriber(IDescribeAlgorithm)
Create a new describer instance that uses the specified algorithm.
Declaration
public SparqlDescriber(IDescribeAlgorithm describeAlgorithm)
Parameters
Type | Name | Description |
---|---|---|
IDescribeAlgorithm | describeAlgorithm | Describe algorithm. |
Methods
| Edit this page View SourceDescribe(IRdfHandler, SparqlEvaluationContext)
Gets the Description Graph based on the Query Results from the given Evaluation Context passing the resulting Triples to the given RDF Handler.
Declaration
public void Describe(IRdfHandler handler, SparqlEvaluationContext context)
Parameters
Type | Name | Description |
---|---|---|
IRdfHandler | handler | RDF Handler. |
SparqlEvaluationContext | context | SPARQL Evaluation Context. |
Describe(SparqlEvaluationContext)
Gets the Description Graph based on the Query Results from the given Evaluation Context.
Declaration
public IGraph Describe(SparqlEvaluationContext context)
Parameters
Type | Name | Description |
---|---|---|
SparqlEvaluationContext | context | SPARQL Evaluation Context. |
Returns
Type | Description |
---|---|
IGraph |