Click or drag to resize

ExplainInstanceServiceExplainInstance Method (INode, INode, GraphCallback, Object)

Gets a Graph explaining why an Instance is of the given Class.

Namespace:  VDS.RDF.Query.Inference.Pellet.Services
Assembly:  dotNetRDF (in dotNetRDF.dll) Version:
Syntax
public void ExplainInstance(
	INode instance,
	INode cls,
	GraphCallback callback,
	Object state
)

Parameters

instance
Type: VDS.RDFINode
Instance.
cls
Type: VDS.RDFINode
Class.
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