Class Ontology
Represents the meta-information about an Ontology.
Inheritance
System.Object
Ontology
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Assembly: dotNetRDF.dll
Syntax
public class Ontology : OntologyResource
Constructors
|
Improve this Doc
View Source
Ontology(INode, IGraph)
Creates a new Ontology for the given resource.
Declaration
public Ontology(INode resource, IGraph graph)
Parameters
Type |
Name |
Description |
INode |
resource |
Resource. |
IGraph |
graph |
Graph. |
Properties
|
Improve this Doc
View Source
BackwardsCompatibleWith
Gets all the Ontologies that this Ontology is backwards compatible with.
Declaration
public IEnumerable<Ontology> BackwardsCompatibleWith { get; }
Property Value
Type |
Description |
System.Collections.Generic.IEnumerable<Ontology> |
|
|
Improve this Doc
View Source
Imports
Gets all the Ontologies that this Ontology imports.
Declaration
public IEnumerable<Ontology> Imports { get; }
Property Value
Type |
Description |
System.Collections.Generic.IEnumerable<Ontology> |
|
|
Improve this Doc
View Source
IncompatibleWith
Gets all the Ontologies that this Ontology is incompatible with.
Declaration
public IEnumerable<Ontology> IncompatibleWith { get; }
Property Value
Type |
Description |
System.Collections.Generic.IEnumerable<Ontology> |
|
|
Improve this Doc
View Source
PriorVersions
Gets all the Ontologies that are prior versions of this Ontology.
Declaration
public IEnumerable<Ontology> PriorVersions { get; }
Property Value
Type |
Description |
System.Collections.Generic.IEnumerable<Ontology> |
|
Methods
|
Improve this Doc
View Source
AddBackwardsCompatibleWith(Uri)
Adds a new owl:backwardsCompatibleWith triple for this Ontology.
Declaration
public bool AddBackwardsCompatibleWith(Uri resource)
Parameters
Type |
Name |
Description |
System.Uri |
resource |
Resource. |
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
AddBackwardsCompatibleWith(INode)
Adds a new owl:backwardsCompatibleWith triple for this Ontology.
Declaration
public bool AddBackwardsCompatibleWith(INode resource)
Parameters
Type |
Name |
Description |
INode |
resource |
Resource. |
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
AddBackwardsCompatibleWith(OntologyResource)
Adds a new owl:backwardsCompatibleWith triple for this Ontology.
Declaration
public bool AddBackwardsCompatibleWith(OntologyResource resource)
Parameters
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
AddImports(Uri)
Adds a new owl:imports triple for this Ontology.
Declaration
public bool AddImports(Uri resource)
Parameters
Type |
Name |
Description |
System.Uri |
resource |
Resource. |
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
AddImports(INode)
Adds a new owl:imports triple for this Ontology.
Declaration
public bool AddImports(INode resource)
Parameters
Type |
Name |
Description |
INode |
resource |
Resource. |
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
AddImports(OntologyResource)
Adds a new owl:imports triple for this Ontology.
Declaration
public bool AddImports(OntologyResource resource)
Parameters
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
AddIncompatibleWith(Uri)
Adds a new owl:incompatibleWith triple for this Ontology.
Declaration
public bool AddIncompatibleWith(Uri resource)
Parameters
Type |
Name |
Description |
System.Uri |
resource |
Resource. |
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
AddIncompatibleWith(INode)
Adds a new owl:incompatibleWith triple for this Ontology.
Declaration
public bool AddIncompatibleWith(INode resource)
Parameters
Type |
Name |
Description |
INode |
resource |
Resource. |
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
AddIncompatibleWith(OntologyResource)
Adds a new owl:incompatibleWith triple for this Ontology.
Declaration
public bool AddIncompatibleWith(OntologyResource resource)
Parameters
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
AddPriorVersion(Uri)
Adds a new owl:priorVersion triple for this Ontology.
Declaration
public bool AddPriorVersion(Uri resource)
Parameters
Type |
Name |
Description |
System.Uri |
resource |
Resource. |
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
AddPriorVersion(INode)
Adds a new owl:priorVersion triple for this Ontology.
Declaration
public bool AddPriorVersion(INode resource)
Parameters
Type |
Name |
Description |
INode |
resource |
Resource. |
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
AddPriorVersion(OntologyResource)
Adds a new owl:priorVersion triple for this Ontology.
Declaration
public bool AddPriorVersion(OntologyResource resource)
Parameters
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
ClearBackwardsCompatibleWith()
Removes all owl:backwardsCompatibleWith triples for this Ontology.
Declaration
public bool ClearBackwardsCompatibleWith()
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
ClearImports()
Removes all owl:imports triples for this Ontology.
Declaration
public bool ClearImports()
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
ClearIncompatibleWith()
Removes all owl:incompatibleWith triples for this Ontology.
Declaration
public bool ClearIncompatibleWith()
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
ClearPriorVersions()
Removes all owl:priorVersion triples for this Ontology.
Declaration
public bool ClearPriorVersions()
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
RemoveBackwardsCompatibleWith(Uri)
Removes a owl:backwardsCompatibleWith triple for this Ontology.
Declaration
public bool RemoveBackwardsCompatibleWith(Uri resource)
Parameters
Type |
Name |
Description |
System.Uri |
resource |
Resource. |
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
RemoveBackwardsCompatibleWith(INode)
Removes a owl:backwardsCompatibleWith triple for this Ontology.
Declaration
public bool RemoveBackwardsCompatibleWith(INode resource)
Parameters
Type |
Name |
Description |
INode |
resource |
Resource. |
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
RemoveBackwardsCompatibleWith(OntologyResource)
Removes a owl:backwardsCompatibleWith triple for this Ontology.
Declaration
public bool RemoveBackwardsCompatibleWith(OntologyResource resource)
Parameters
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
RemoveImports(Uri)
Removes a owl:imports triple for this Ontology.
Declaration
public bool RemoveImports(Uri resource)
Parameters
Type |
Name |
Description |
System.Uri |
resource |
Resource. |
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
RemoveImports(INode)
Removes a owl:imports triple for this Ontology.
Declaration
public bool RemoveImports(INode resource)
Parameters
Type |
Name |
Description |
INode |
resource |
Resource. |
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
RemoveImports(OntologyResource)
Removes a owl:imports triple for this Ontology.
Declaration
public bool RemoveImports(OntologyResource resource)
Parameters
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
RemoveIncompatibleWith(Uri)
Removes a owl:incompatibleWith triple for this Ontology.
Declaration
public bool RemoveIncompatibleWith(Uri resource)
Parameters
Type |
Name |
Description |
System.Uri |
resource |
Resource. |
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
RemoveIncompatibleWith(INode)
Removes a owl:incompatibleWith triple for this Ontology.
Declaration
public bool RemoveIncompatibleWith(INode resource)
Parameters
Type |
Name |
Description |
INode |
resource |
Resource. |
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
RemoveIncompatibleWith(OntologyResource)
Removes a owl:incompatibleWith triple for this Ontology.
Declaration
public bool RemoveIncompatibleWith(OntologyResource resource)
Parameters
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
RemovePriorVersion(Uri)
Removes a owl:priorVersion triple for this Ontology.
Declaration
public bool RemovePriorVersion(Uri resource)
Parameters
Type |
Name |
Description |
System.Uri |
resource |
Resource. |
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
RemovePriorVersion(INode)
Removes a owl:priorVersion triple for this Ontology.
Declaration
public bool RemovePriorVersion(INode resource)
Parameters
Type |
Name |
Description |
INode |
resource |
Resource. |
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
RemovePriorVersion(OntologyResource)
Removes a owl:priorVersion triple for this Ontology.
Declaration
public bool RemovePriorVersion(OntologyResource resource)
Parameters
Returns
Type |
Description |
System.Boolean |
|
Extension Methods