Class ExplainSubclassService
Represents the Explain Subclass Service provided by a Pellet Server.
Inherited Members
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 ExplainSubclassService : ExplainService
Methods
| Improve this Doc View SourceExplainSubclass(INode, INode)
Gets a Graph explaining why the given Class is a subclass of the given Super Class.
Declaration
public IGraph ExplainSubclass(INode subclass, INode superclass)
Parameters
Type | Name | Description |
---|---|---|
INode | subclass | Class. |
INode | superclass | Super Class. |
Returns
Type | Description |
---|---|
IGraph |
ExplainSubclass(INode, INode, GraphCallback, Object)
Gets a Graph explaining why the given Class is a subclass of the given Super Class.
Declaration
public void ExplainSubclass(INode subclass, INode superclass, GraphCallback callback, object state)
Parameters
Type | Name | Description |
---|---|---|
INode | subclass | Class. |
INode | superclass | Super Class. |
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.