dotNetRDF API Documentation

ReasonerGraph Class

Represents a Graph with a reasoner attached

For a list of all members of this type, see ReasonerGraph Members .

System.Object
   BaseGraph
      Graph
         OntologyGraph
            ReasonerGraph

[XmlRoot(ElementName=""graph"", Namespace="null", DataType="""", IsNullable=True)]
public class ReasonerGraph : OntologyGraph

Remarks

This class wraps an existing Graph and applies the given reasoner to it materialising the Triples in this Graph. The original Graph itself is not modified but can be accessed if necessary using the BaseGraph property

Any changes to this Graph (via Assert() and Retract()) affect this Graph - specifically the set of materialised Triples - rather than the original Graph around which this Graph is a wrapper

See Using the Ontology API for some informal documentation on the use of the Ontology namespace

Requirements

Namespace: VDS.RDF.Ontology

Assembly: dotNetRDF (in dotNetRDF.dll)

See Also

ReasonerGraph Members | VDS.RDF.Ontology Namespace