Class ExplainService
Represents the Explain Service provided by a Pellet Server.
Inheritance
System.Object
ExplainService
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: VDS.RDF.Query.Inference.Pellet.Services
Assembly: dotNetRDF.dll
Syntax
public class ExplainService : PelletService
Fields
| Improve this Doc View Source_baseQuery
Base Query for use with the Explain Service.
Declaration
protected SparqlParameterizedString _baseQuery
Field Value
Type | Description |
---|---|
SparqlParameterizedString |
Methods
| Improve this Doc View SourceExplain(String)
Gets a Graph explaining the result of the SPARQL Query.
Declaration
public IGraph Explain(string sparqlQuery)
Parameters
Type | Name | Description |
---|---|---|
System.String | sparqlQuery | SPARQL Query. |
Returns
Type | Description |
---|---|
IGraph |
Explain(String, GraphCallback, Object)
Gets a Graph explaining the result of the SPARQL Query.
Declaration
public void Explain(string sparqlQuery, GraphCallback callback, object state)
Parameters
Type | Name | Description |
---|---|---|
System.String | sparqlQuery | SPARQL Query. |
GraphCallback | callback | Callback to invoke when the operation completes. |
System.Object | state | State to pass to the callback. |
Remarks
If the operation succeeds the callback will be invoked normally, if there is an error the callback will be invoked with a instance of AsyncError passed as the state which provides access to the error message and the original state passed in.