Class OwlReasonerWrapper
Wrapper around an IOwlReasoner to make it appear like a forward-chaining reasoner.
Implements
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
Assembly: dotNetRDF.dll
Syntax
public class OwlReasonerWrapper : StaticOwlReasonerWrapper, IInferenceEngine
Remarks
Effectively equivalent to StaticOwlReasonerWrapper except that every Graph reasoning is applied to is added to the reasoners knowledge base (unless the reasoner uses a fixed knowledge base).
Constructors
| Improve this Doc View SourceOwlReasonerWrapper(IOwlReasoner)
Creates a new OWL Reasoner Wrapper around the given OWL Reasoner.
Declaration
public OwlReasonerWrapper(IOwlReasoner reasoner)
Parameters
Type | Name | Description |
---|---|---|
IOwlReasoner | reasoner | OWL Reasoner. |
Methods
| Improve this Doc View SourceApply(IGraph)
Applies the reasoner to the given Graph outputting inferences into the same Graph.
Declaration
public override void Apply(IGraph g)
Parameters
Type | Name | Description |
---|---|---|
IGraph | g | Graph. |
Overrides
| Improve this Doc View SourceApply(IGraph, IGraph)
Applies the reasoner to the given input Graph outputting inferences into the output Graph.
Declaration
public override void Apply(IGraph input, IGraph output)
Parameters
Type | Name | Description |
---|---|---|
IGraph | input | Input Graph. |
IGraph | output | Output Graph. |