Class ExplainPropertyService
Represents the Explain Property Service provided by a Pellet Server.
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 ExplainPropertyService : ExplainService
Methods
| Improve this Doc View SourceExplainProperty(INode, INode, INode)
Gets a Graph explaining why the given Triple was derived.
Declaration
public IGraph ExplainProperty(INode subj, INode pred, INode obj)
Parameters
Type | Name | Description |
---|---|---|
INode | subj | Subject. |
INode | pred | Predicate. |
INode | obj | Object. |
Returns
Type | Description |
---|---|
IGraph |
ExplainProperty(INode, INode, INode, GraphCallback, Object)
Gets a Graph explaining why the given Triple was derived.
Declaration
public void ExplainProperty(INode subj, INode pred, INode obj, GraphCallback callback, object state)
Parameters
Type | Name | Description |
---|---|---|
INode | subj | Subject. |
INode | pred | Predicate. |
INode | obj | Object. |
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.
|
Improve this Doc
View Source
ExplainProperty(Triple)
Gets a Graph explaining why the given Triple was derived.
Declaration
public IGraph ExplainProperty(Triple t)
Parameters
Type | Name | Description |
---|---|---|
Triple | t | Triple. |
Returns
Type | Description |
---|---|
IGraph |
ExplainProprety(Triple, GraphCallback, Object)
Gets a Graph explaining why the given Triple was derived.
Declaration
public void ExplainProprety(Triple t, GraphCallback callback, object state)
Parameters
Type | Name | Description |
---|---|---|
Triple | t | Triple. |
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.