Show / Hide Table of Contents

Class StaticSkosReasoner

An Inference Engine that uses SKOS Concept Hierarchies.

Inheritance
System.Object
StaticSkosReasoner
SkosReasoner
Implements
IInferenceEngine
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: VDS.RDF.Query.Inference
Assembly: dotNetRdf.Inferencing.dll
Syntax
public class StaticSkosReasoner : IInferenceEngine
Remarks

Infers additional values for properties based on SKOS Concept Hierarcies. If there is a Triple whose value is a Concept from the hierarchy then new versions of that Triple will be inferred where the object becomes each concept higher in the hierarchy.

Constructors

| Improve this Doc View Source

StaticSkosReasoner()

Creates a new instance of the SKOS Reasoner.

Declaration
public StaticSkosReasoner()
Remarks

Infers additional values for properties based on SKOS Concept Hierarcies. If there is a Triple whose value is a Concept from the hierarchy then new versions of that Triple will be inferred where the object becomes each concept higher in the hierarchy.

Fields

| Improve this Doc View Source

SKOSNamespace

Namespace for SKOS.

Declaration
public const string SKOSNamespace = "http://www.w3.org/2004/02/skos/core#"
Field Value
Type Description
string
Remarks

Infers additional values for properties based on SKOS Concept Hierarcies. If there is a Triple whose value is a Concept from the hierarchy then new versions of that Triple will be inferred where the object becomes each concept higher in the hierarchy.

Methods

| Improve this Doc View Source

Apply(IGraph, IGraph)

Applies inference to the Input Graph and outputs the inferred information to the Output Graph.

Declaration
public virtual 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.

Remarks

Infers additional values for properties based on SKOS Concept Hierarcies. If there is a Triple whose value is a Concept from the hierarchy then new versions of that Triple will be inferred where the object becomes each concept higher in the hierarchy.

| Improve this Doc View Source

Apply(IGraph)

Applies inference to the given Graph and outputs the inferred information to that Graph.

Declaration
public virtual void Apply(IGraph g)
Parameters
Type Name Description
IGraph g

Graph.

Remarks

Infers additional values for properties based on SKOS Concept Hierarcies. If there is a Triple whose value is a Concept from the hierarchy then new versions of that Triple will be inferred where the object becomes each concept higher in the hierarchy.

| Improve this Doc View Source

Initialise(IGraph)

Imports any Concept heirarchy information from the given Graph into the Reasoners Knowledge Base in order to initialise the Reasoner.

Declaration
public void Initialise(IGraph g)
Parameters
Type Name Description
IGraph g

Graph to import from.

Remarks

Looks for Triples defining SKOS concepts and relating them to narrower and broader concepts.

Implements

IInferenceEngine

Extension Methods

Extensions.ToSafeString(object)
Extensions.AsEnumerable<T>(T)
  • Improve this Doc
  • View Source
In This Article
  • Constructors
    • StaticSkosReasoner()
  • Fields
    • SKOSNamespace
  • Methods
    • Apply(IGraph, IGraph)
    • Apply(IGraph)
    • Initialise(IGraph)
  • Implements
  • Extension Methods
Back to top Generated by DocFX