Click or drag to resize

PredictServicePredict Method (String, String, NodeListCallback, Object)

Gets the list of Predictions for the given Individual and Property.

Namespace:  VDS.RDF.Query.Inference.Pellet.Services
Assembly:  dotNetRDF (in dotNetRDF.dll) Version:
Syntax
public void Predict(
	string individual,
	string property,
	NodeListCallback callback,
	Object state
)

Parameters

individual
Type: SystemString
QName of an Inidividual.
property
Type: SystemString
QName of a Property.
callback
Type: VDS.RDFNodeListCallback
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