Interface IOwlReasoner
Proposed interface for OWL Reasoners - currently incomplete.
Assembly: dotNetRDF.dll
Syntax
public interface IOwlReasoner
Properties
|
Improve this Doc
View Source
Unsatisfiable
Returns the enumeration of unsatisfiable classes.
Declaration
IEnumerable<OntologyResource> Unsatisfiable { get; }
Property Value
Exceptions
Type |
Condition |
System.NotSupportedException |
May be thrown if the Reasoner does not support such an operation. |
Methods
|
Improve this Doc
View Source
Add(IGraph)
Adds a Graph to the reasoners knowledge base.
Declaration
Parameters
Type |
Name |
Description |
IGraph |
g |
Graph. |
Exceptions
Type |
Condition |
System.NotSupportedException |
May be thrown if the Reasoner does not support such an operation. |
|
Improve this Doc
View Source
Classify()
Extracts the triples which comprise the class hierarchy.
Declaration
IEnumerable<Triple> Classify()
Returns
Type |
Description |
System.Collections.Generic.IEnumerable<Triple> |
|
Exceptions
Type |
Condition |
System.NotSupportedException |
May be thrown if the Reasoner does not support such an operation. |
|
Improve this Doc
View Source
Extracts all possible triples using the given extraction modes.
Declaration
IEnumerable<Triple> Extract(IEnumerable<string> modes)
Parameters
Type |
Name |
Description |
System.Collections.Generic.IEnumerable<System.String> |
modes |
Extraction Modes. |
Returns
Type |
Description |
System.Collections.Generic.IEnumerable<Triple> |
|
Exceptions
Type |
Condition |
System.NotSupportedException |
May be thrown if the Reasoner does not support such an operation. |
|
Improve this Doc
View Source
Extracts all possible triples using the given extraction mode.
Declaration
IEnumerable<Triple> Extract(string mode)
Parameters
Type |
Name |
Description |
System.String |
mode |
Extraction Mode. |
Returns
Type |
Description |
System.Collections.Generic.IEnumerable<Triple> |
|
Exceptions
Type |
Condition |
System.NotSupportedException |
May be thrown if the Reasoner does not support such an operation. |
|
Improve this Doc
View Source
Extract a reasoning enhanced sub-graph from the given Graph rooted at the given Node.
Declaration
IGraph Extract(IGraph g, INode n)
Parameters
Type |
Name |
Description |
IGraph |
g |
Graph. |
INode |
n |
Root Node. |
Returns
|
Improve this Doc
View Source
IsConsistent()
Returns whether the underlying knowledge base is consistent.
Declaration
Returns
Type |
Description |
System.Boolean |
|
Exceptions
Type |
Condition |
System.NotSupportedException |
May be thrown if the Reasoner does not support such an operation. |
|
Improve this Doc
View Source
IsConsistent(IGraph)
Returns whether the given Graph is consistent with the underlying knowledge base.
Declaration
bool IsConsistent(IGraph g)
Parameters
Type |
Name |
Description |
IGraph |
g |
Graph. |
Returns
Type |
Description |
System.Boolean |
|
Exceptions
Type |
Condition |
System.NotSupportedException |
May be thrown if the Reasoner does not support such an operation. |
|
Improve this Doc
View Source
Realize()
Extracts the triples which comprise the class hierarchy and individuals of those classes.
Declaration
IEnumerable<Triple> Realize()
Returns
Type |
Description |
System.Collections.Generic.IEnumerable<Triple> |
|
Exceptions
Type |
Condition |
System.NotSupportedException |
May be thrown if the Reasoner does not support such an operation. |
Extension Methods