OntologyGraph Class |
Namespace: VDS.RDF.Ontology
The OntologyGraph type exposes the following members.
Name | Description | |
---|---|---|
OntologyGraph |
Creates a new Ontology Graph.
|
Name | Description | |
---|---|---|
AllClasses |
Gets all classes defined in the graph using the standard rdfs:Class and owl:Class types.
| |
AllNodes |
Gets the unique Subject, Predicate and Object nodes of the Graph.
(Inherited from BaseGraph.) | |
AllProperties |
Gets all properties defined in the graph using any of the standard property types (rdf:Property, owl:AnnotationProperty, owl:DataProperty, owl:ObjectProperty).
| |
BaseUri |
Gets the current Base Uri for the Graph.
(Inherited from BaseGraph.) | |
IsEmpty |
Gets whether a Graph is Empty ie. Contains No Triples or Nodes.
(Inherited from BaseGraph.) | |
NamespaceMap |
Gets the Namespace Mapper for this Graph which contains all in use Namespace Prefixes and their URIs.
(Inherited from BaseGraph.) | |
Nodes |
Gets the unique Subject and Object nodes of the Graph.
(Inherited from BaseGraph.) | |
OwlAnnotationProperties |
Gets all OWL Annotation properties defined in the graph.
| |
OwlClasses |
Get all OWL classes defined in the graph.
| |
OwlDatatypeProperties |
Gets all OWL Data properties defined in the graph.
| |
OwlObjectProperties |
Gets all OWL Object properties defined in the graph.
| |
OwlProperties |
Gets all properties defined in the graph using any of the standard OWL property types (owl:AnnotationProperty, owl:DataProperty, owl:ObjectProperty).
| |
RdfClasses |
Get all the RDFS classes defined in the graph.
| |
RdfProperties |
Gets all RDF properties defined in the graph.
| |
Triples |
Gets the set of Triples described in this Graph.
(Inherited from BaseGraph.) |
Name | Description | |
---|---|---|
Assert(IEnumerableTriple) |
Asserts a List of Triples in the graph.
(Inherited from Graph.) | |
Assert(Triple) |
Asserts a Triple in the Graph.
(Inherited from Graph.) | |
AttachEventHandlers |
Helper method for attaching the necessary event Handlers to a Triple Collection.
(Inherited from BaseGraph.) | |
Clear |
Clears all Triples from the Graph.
(Inherited from BaseGraph.) | |
ContainsTriple |
Gets whether a given Triple exists in this Graph.
(Inherited from BaseGraph.) | |
CreateBlankNode |
Creates a New Blank Node with an auto-generated Blank Node ID.
(Inherited from BaseGraph.) | |
CreateBlankNode(String) |
Creates a New Blank Node with a user-defined Blank Node ID.
(Inherited from BaseGraph.) | |
CreateGraphLiteralNode |
Creates a new Graph Literal Node with its value being an Empty Subgraph.
(Inherited from BaseGraph.) | |
CreateGraphLiteralNode(IGraph) |
Creates a new Graph Literal Node with its value being the given Subgraph.
(Inherited from BaseGraph.) | |
CreateIndividual(Uri) |
Gets an existing individual in the Graph.
| |
CreateIndividual(INode) |
Gets an existing individual in the Graph.
| |
CreateIndividual(Uri, Uri) |
Gets/Creates an individual in the Graph of the given class.
| |
CreateIndividual(INode, INode) |
Gets/Creates an individual in the Graph of the given class.
| |
CreateLiteralNode(String) |
Creates a New Literal Node with the given Value.
(Inherited from BaseGraph.) | |
CreateLiteralNode(String, String) |
Creates a New Literal Node with the given Value and Language Specifier.
(Inherited from BaseGraph.) | |
CreateLiteralNode(String, Uri) |
Creates a new Literal Node with the given Value and Data Type.
(Inherited from BaseGraph.) | |
CreateOntologyClass |
Gets/Creates an anonymous ontology class in the Graph.
| |
CreateOntologyClass(Uri) |
Gets/Creates an ontology class in the Graph.
| |
CreateOntologyClass(INode) |
Gets/Creates an ontology class in the Graph.
| |
CreateOntologyProperty(Uri) |
Gets/Creates an ontology property in the Graph.
| |
CreateOntologyProperty(INode) |
Gets/Creates an ontology property in the Graph.
| |
CreateOntologyResource |
Gets/Creates an anonymous ontology resource in the Graph.
| |
CreateOntologyResource(Uri) |
Gets/Creates an ontology resource in the Graph.
| |
CreateOntologyResource(INode) |
Gets/Creates an ontology resource in the Graph.
| |
CreateUriNode |
Creates a new URI Node that refers to the Base Uri of the Graph.
(Inherited from BaseGraph.) | |
CreateUriNode(String) |
Creates a new URI Node with the given QName.
(Inherited from BaseGraph.) | |
CreateUriNode(Uri) |
Creates a new URI Node with the given URI.
(Inherited from BaseGraph.) | |
CreateVariableNode |
Creates a new Variable Node.
(Inherited from BaseGraph.) | |
DetachEventHandlers |
Helper method for detaching the necessary event Handlers from a Triple Collection.
(Inherited from BaseGraph.) | |
Difference |
Computes the Difference between this Graph the given Graph.
(Inherited from BaseGraph.) | |
Dispose |
Disposes of a Graph.
(Inherited from BaseGraph.) | |
Equals(Object) |
Determines whether a Graph is equal to another Object.
(Inherited from BaseGraph.) | |
Equals(IGraph, DictionaryINode, INode) |
Determines whether this Graph is equal to the given Graph.
(Inherited from BaseGraph.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetBlankNode |
Returns the Blank Node with the given Identifier.
(Inherited from Graph.) | |
GetClasses |
Get all classes defined in the graph where anything of a specific type is considered a class.
| |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetLiteralNode(String) |
Returns the LiteralNode with the given Value if it exists.
(Inherited from Graph.) | |
GetLiteralNode(String, String) |
Returns the LiteralNode with the given Value in the given Language if it exists.
(Inherited from Graph.) | |
GetLiteralNode(String, Uri) |
Returns the LiteralNode with the given Value and given Data Type if it exists.
(Inherited from Graph.) | |
GetNextBlankNodeID |
Creates a new unused Blank Node ID and returns it.
(Inherited from BaseGraph.) | |
GetObjectData |
Gets the Serialization Information for serializing a Graph.
(Inherited from BaseGraph.) | |
GetProperties |
Get all properties defined in the graph where anything of a specific type is considered a property.
| |
GetSchema |
Gets the Schema for XML Serialization.
(Inherited from BaseGraph.) | |
GetTriples(Uri) |
Gets all the Triples involving the given Uri.
(Inherited from Graph.) | |
GetTriples(INode) |
Gets all the Triples involving the given Node.
(Inherited from Graph.) | |
GetTriplesWithObject(Uri) |
Gets all the Triples with the given Uri as the Object.
(Inherited from Graph.) | |
GetTriplesWithObject(INode) |
Gets all the Triples with the given Node as the Object.
(Inherited from Graph.) | |
GetTriplesWithPredicate(Uri) |
Gets all the Triples with the given Uri as the Predicate.
(Inherited from Graph.) | |
GetTriplesWithPredicate(INode) |
Gets all the Triples with the given Node as the Predicate.
(Inherited from Graph.) | |
GetTriplesWithPredicateObject |
Selects all Triples with the given Predicate and Object.
(Inherited from Graph.) | |
GetTriplesWithSubject(Uri) |
Gets all the Triples with the given Uri as the Subject.
(Inherited from Graph.) | |
GetTriplesWithSubject(INode) |
Gets all the Triples with the given Node as the Subject.
(Inherited from Graph.) | |
GetTriplesWithSubjectObject |
Selects all Triples with the given Subject and Object.
(Inherited from Graph.) | |
GetTriplesWithSubjectPredicate |
Selects all Triples with the given Subject and Predicate.
(Inherited from Graph.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
GetUriNode(String) |
Returns the UriNode with the given QName if it exists.
(Inherited from Graph.) | |
GetUriNode(Uri) |
Returns the UriNode with the given Uri if it exists.
(Inherited from Graph.) | |
HasSubGraph(IGraph) |
Checks whether this Graph has the given Graph as a sub-graph.
(Inherited from BaseGraph.) | |
HasSubGraph(IGraph, DictionaryINode, INode) |
Checks whether this Graph has the given Graph as a sub-graph.
(Inherited from BaseGraph.) | |
IsSubGraphOf(IGraph) |
Checks whether this Graph is a sub-graph of the given Graph.
(Inherited from BaseGraph.) | |
IsSubGraphOf(IGraph, DictionaryINode, INode) |
Checks whether this Graph is a sub-graph of the given Graph.
(Inherited from BaseGraph.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
Merge(IGraph) |
Merges another Graph into the current Graph.
(Inherited from BaseGraph.) | |
Merge(IGraph, Boolean) |
Merges another Graph into the current Graph.
(Inherited from BaseGraph.) | |
OnTripleAsserted |
Event Handler which handles the Triple Added event from the underlying Triple Collection by raising the Graph's TripleAsserted event.
(Inherited from BaseGraph.) | |
OnTripleRetracted |
Event Handler which handles the Triple Removed event from the underlying Triple Collection by raising the Graph's Triple Retracted event.
(Inherited from BaseGraph.) | |
RaiseCleared |
Helper method for raising the Cleared event.
(Inherited from BaseGraph.) | |
RaiseClearRequested |
Helper method for raising the Clear Requested event and returning whether any of the Event Handlers cancelled the operation.
(Inherited from BaseGraph.) | |
RaiseGraphChanged |
Helper method for raising the Changed event.
(Inherited from BaseGraph.) | |
RaiseGraphChanged(TripleEventArgs) |
Helper method for raising the Changed event.
(Inherited from BaseGraph.) | |
RaiseMerged |
Helper method for raising the Merged event.
(Inherited from BaseGraph.) | |
RaiseMergeRequested |
Helper method for raising the Merge Requested event and returning whether any of the Event Handlers cancelled the operation.
(Inherited from BaseGraph.) | |
RaiseTripleAsserted(Triple) |
Helper method for raising the Triple Asserted event manually.
(Inherited from BaseGraph.) | |
RaiseTripleAsserted(TripleEventArgs) |
Helper method for raising the Triple Asserted event manually.
(Inherited from BaseGraph.) | |
RaiseTripleRetracted(Triple) |
Helper method for raising the Triple Retracted event manually.
(Inherited from BaseGraph.) | |
RaiseTripleRetracted(TripleEventArgs) |
Helper method for raising the Triple Retracted event manually.
(Inherited from BaseGraph.) | |
ReadXml |
Reads the data for XML deserialization.
(Inherited from BaseGraph.) | |
ResolveQName |
Helper function for Resolving QNames to URIs.
(Inherited from BaseGraph.) | |
Retract(IEnumerableTriple) |
Retracts a enumeration of Triples from the graph.
(Inherited from Graph.) | |
Retract(Triple) |
Retracts a Triple from the Graph.
(Inherited from Graph.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) | |
WriteXml |
Writes the data for XML serialization.
(Inherited from BaseGraph.) |
Name | Description | |
---|---|---|
Changed |
Event which is raised when the Graph contents change
(Inherited from BaseGraph.) | |
Cleared |
Event which is raised after the Graph is cleared of its contents
(Inherited from BaseGraph.) | |
ClearRequested |
Event which is raised just before the Graph is cleared of its contents
(Inherited from BaseGraph.) | |
Merged |
Event which is raised when a Merge operation is completed on the Graph
(Inherited from BaseGraph.) | |
MergeRequested |
Event which is raised when a Merge operation is requested on the Graph
(Inherited from BaseGraph.) | |
TripleAsserted |
Event which is raised when a Triple is asserted in the Graph
(Inherited from BaseGraph.) | |
TripleRetracted |
Event which is raised when a Triple is retracted from the Graph
(Inherited from BaseGraph.) |
Name | Description | |
---|---|---|
_baseuri |
Base Uri of the Graph.
(Inherited from BaseGraph.) | |
_bnodemapper |
Blank Node ID Mapper.
(Inherited from BaseGraph.) | |
_nsmapper |
Namespace Mapper.
(Inherited from BaseGraph.) | |
_triples |
Collection of Triples in the Graph.
(Inherited from BaseGraph.) |
See Using the Ontology API for some informal documentation on the use of the Ontology namespace.