Interface IInferenceEngine
Interfaces for Inference Engines.
Namespace: VDS.RDF.Query.Inference
Assembly: dotNetRDF.dll
Syntax
public interface IInferenceEngine
Remarks
An Inference Engine is a class that given a Graph can infer extra information from that Graph based on fixed rules or rules computed from the Graphs it is performing inference on.
In general terms an implementation of an Inference Engine typically provides some form of forward chaining reasoner though implementations may do more advanced reasoning or wrap other kinds of reasoner.
Methods
| Improve this Doc View SourceApply(IGraph)
Applies inference to the given Graph and outputs the inferred information to that Graph.
Declaration
void Apply(IGraph g)
Parameters
Type | Name | Description |
---|---|---|
IGraph | g | Graph. |
Apply(IGraph, IGraph)
Applies inference to the Input Graph and outputs the inferred information to the Output Graph.
Declaration
void Apply(IGraph input, IGraph output)
Parameters
Type | Name | Description |
---|---|---|
IGraph | input | Graph to apply inference to. |
IGraph | output | Graph inferred information is output to. |
Initialise(IGraph)
Initialises the Inference Engine using the given Graph.
Declaration
void Initialise(IGraph g)
Parameters
Type | Name | Description |
---|---|---|
IGraph | g | Graph to initialise from. |