Class InferencingTripleStore
Implements
System.IDisposable
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: VDS.RDF
Assembly: dotNetRdf.Inferencing.dll
Syntax
public class InferencingTripleStore : TripleStore, IInMemoryQueryableStore, ISparqlUpdateTripleStore, IUpdateableTripleStore, IInferencingTripleStore, ITripleStore, IDisposable
Fields
| Improve this Doc View Source_reasoners
List of Reasoners that are applied to Graphs as they are added to the Triple Store.
Declaration
protected List<IInferenceEngine> _reasoners
Field Value
Type | Description |
---|---|
System.Collections.Generic.List<T><IInferenceEngine> |
Methods
| Improve this Doc View SourceAddInferenceEngine(IInferenceEngine)
Adds an Inference Engine to the Triple Store.
Declaration
public void AddInferenceEngine(IInferenceEngine reasoner)
Parameters
Type | Name | Description |
---|---|---|
IInferenceEngine | reasoner | Reasoner to add. |
ApplyInference(IGraph)
Applies Inference to the given Graph.
Declaration
public void ApplyInference(IGraph g)
Parameters
Type | Name | Description |
---|---|---|
IGraph | g | Graph to apply inference to. |
ClearInferenceEngines()
Clears all Inference Engines from the Triple Store.
Declaration
public void ClearInferenceEngines()
OnGraphAdded(object, GraphEventArgs)
Event Handler for the Graph Added event of the underlying Graph Collection which calls the normal event processing of the parent class BaseTripleStore and then applies Inference to the newly added Graph.
Declaration
protected override void OnGraphAdded(object sender, GraphEventArgs args)
Parameters
Type | Name | Description |
---|---|---|
System.Object | sender | Sender. |
GraphEventArgs | args | Graph Event Arguments. |
Overrides
| Improve this Doc View SourceRemoveInferenceEngine(IInferenceEngine)
Removes an Inference Engine from the Triple Store.
Declaration
public void RemoveInferenceEngine(IInferenceEngine reasoner)
Parameters
Type | Name | Description |
---|---|---|
IInferenceEngine | reasoner | Reasoner to remove. |
Implements
System.IDisposable