Click or drag to resize

StaticRdfsReasoner Class

An Inference Engine which uses RDFS reasoning.
Inheritance Hierarchy

Namespace:  VDS.RDF.Query.Inference
Assembly:  dotNetRDF (in dotNetRDF.dll) Version:
Syntax
public class StaticRdfsReasoner : IInferenceEngine

The StaticRdfsReasoner type exposes the following members.

Constructors
  NameDescription
Public methodStaticRdfsReasoner
Creates a new instance of the Static RdfsReasoner.
Top
Methods
  NameDescription
Public methodApply(IGraph)
Applies inference to the given Graph and outputs the inferred information to that Graph.
Public methodApply(IGraph, IGraph)
Applies inference to the Input Graph and outputs the inferred information to the Output Graph.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodInitialise
Imports any Class heirarchy information from the given Graph into the Reasoners Knowledge Base in order to initialise the Reasoner.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Remarks

Does basic RDFS inferencing using the schema taken from the Graph(s) which are provided in calls to the reasoners Initialise() method.

Types of inference performed are as follows:.

  • Class hierarchy reasoning - asserts additional types triples for anything that is typed as the subclass of a class.
  • Property hierarchy reasoning - asserts additional property triples for anything where the predicate is a subproperty of a defined property
  • Domain & Range reasoning - asserts additional type triples based on the domains and ranges of properties
See Also