Show / Hide Table of Contents

Class PredictService

Represents the Predict Service of a Pellet Knowledge Base.
Inheritance
System.Object
PelletService
PredictService
Inherited Members
PelletService.Name
PelletService.Endpoint
PelletService.MimeTypes
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 PredictService : PelletService

Methods

| Improve this Doc View Source

Predict(String, String)

Gets the list of Predictions for the given Individual and Property.
Declaration
public List<INode> Predict(string individual, string property)
Parameters
Type Name Description
System.String individual QName of an Inidividual.
System.String property QName of a Property.
Returns
Type Description
System.Collections.Generic.List<INode>
| Improve this Doc View Source

Predict(String, String, NodeListCallback, Object)

Gets the list of Predictions for the given Individual and Property.
Declaration
public void Predict(string individual, string property, NodeListCallback callback, object state)
Parameters
Type Name Description
System.String individual QName of an Inidividual.
System.String property QName of a Property.
NodeListCallback 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

PredictRaw(String, String)

Gets the Raw Predictions Graph from the Knowledge Base.
Declaration
public IGraph PredictRaw(string individual, string property)
Parameters
Type Name Description
System.String individual QName of an Individual.
System.String property QName of a Property.
Returns
Type Description
IGraph
| Improve this Doc View Source

PredictRaw(String, String, GraphCallback, Object)

Gets the Raw Predictions Graph from the Knowledge Base.
Declaration
public void PredictRaw(string individual, string property, GraphCallback callback, object state)
Parameters
Type Name Description
System.String individual QName of an Individual.
System.String property QName of a Property.
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.

Extension Methods

Extensions.AsEnumerable<T>(T)
  • Improve this Doc
  • View Source
In This Article
  • Methods
    • Predict(String, String)
    • Predict(String, String, NodeListCallback, Object)
    • PredictRaw(String, String)
    • PredictRaw(String, String, GraphCallback, Object)
  • Extension Methods
Back to top Generated by DocFX