PredictService.Predict 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:
Syntaxpublic void Predict(
string individual,
string property,
NodeListCallback callback,
Object state
)
Public Sub Predict (
individual As String,
property As String,
callback As NodeListCallback,
state As Object
)
Parameters
- individual
- Type: System.String
QName of an Inidividual. - property
- Type: System.String
QName of a Property. - callback
- Type: VDS.RDF.NodeListCallback
Callback to invoke when the operation completes. - state
- Type: System.Object
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