Click or drag to resize

ExplainPropertyServiceExplainProperty Method (INode, INode, INode, GraphCallback, Object)

Gets a Graph explaining why the given Triple was derived.

Namespace:  VDS.RDF.Query.Inference.Pellet.Services
Assembly:  dotNetRDF (in dotNetRDF.dll) Version:
Syntax
public void ExplainProperty(
	INode subj,
	INode pred,
	INode obj,
	GraphCallback callback,
	Object state
)

Parameters

subj
Type: VDS.RDFINode
Subject.
pred
Type: VDS.RDFINode
Predicate.
obj
Type: VDS.RDFINode
Object.
callback
Type: VDS.RDFGraphCallback
Callback to invoke when the operation completes.
state
Type: SystemObject
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.
See Also