OntologyClass Class |
Namespace: VDS.RDF.Ontology
The OntologyClass type exposes the following members.
Name | Description | |
---|---|---|
OntologyClass |
Creates a new representation of a Class in the given Ontology Mode.
|
Name | Description | |
---|---|---|
Comment |
Gets the Comment(s) for the Resource.
(Inherited from OntologyResource.) | |
DifferentFrom |
Gets the Different From(s) for the Resource.
(Inherited from OntologyResource.) | |
DirectSubClasses |
Gets the direct sub-classes of this class.
| |
DirectSuperClasses |
Gets the direct super-classes of this class.
| |
DisjointClasses |
Gets the disjoint classes of this class.
| |
EquivalentClasses |
Gets the equivalent classes of this class.
| |
Graph |
Gets the Graph that this Ontology Resource is from.
(Inherited from OntologyResource.) | |
IndirectSubClasses |
Gets the indirect sub-classes of this class.
| |
IndirectSuperClasses |
Gets the indirect super-classes of this class.
| |
Instances |
Gets the instances (individuals) of this class.
| |
IsBottomClass |
Gets whether something is a Bottom Class i.e. has no sub classes.
| |
IsDefinedBy |
Gets the Is Defined By(s) for the Resource.
(Inherited from OntologyResource.) | |
IsDomainOf |
Gets the properties which have this class as a domain.
| |
IsRangeOf |
Gets the properties which have this class as a range.
| |
IsTopClass |
Gets whether something is a Top Class i.e. has no super classes.
| |
Label |
Gets the Label(s) for the Resource.
(Inherited from OntologyResource.) | |
Resource |
Gets the Resource that this Ontology Resource refers to.
(Inherited from OntologyResource.) | |
SameAs |
Gets the Same As('s) for the Resource.
(Inherited from OntologyResource.) | |
SeeAlso |
Gets the See Also(s) for the Resource.
(Inherited from OntologyResource.) | |
Siblings |
Gets the Sibling classes of this class, if this class is the root of the ontology nothing is returned even if there are multiple root classes.
| |
SubClasses |
Gets the sub-classes of this class (both direct and indirect).
| |
SuperClasses |
Gets the super-classes of this class (both direct and indirect).
| |
Triples |
Gets all the Triples where the Resource occurs in any position.
(Inherited from OntologyResource.) | |
TriplesWithObject |
Gets all the Triples from the Graph where the Resource occurs as the Object.
(Inherited from OntologyResource.) | |
TriplesWithPredicate |
Gets all the Triples from the Graph where the Resource occurs as the Predicate.
(Inherited from OntologyResource.) | |
TriplesWithSubject |
Gets all the Triples from the Graph where the Resource occurs as the Subject.
(Inherited from OntologyResource.) | |
Types |
Gets the rdf:type's for the Resource.
(Inherited from OntologyResource.) | |
VersionInfo |
Gets the Version Information for the Resource.
(Inherited from OntologyResource.) |
Name | Description | |
---|---|---|
AddComment(String) |
Adds a comment for this resource.
(Inherited from OntologyResource.) | |
AddComment(String, String) |
Adds a comment in a specific language for this resource.
(Inherited from OntologyResource.) | |
AddDifferentFrom(Uri) |
Adds a new owl:differentFrom triple for the resource.
(Inherited from OntologyResource.) | |
AddDifferentFrom(INode) |
Adds a new owl:differentFrom triple for the resource.
(Inherited from OntologyResource.) | |
AddDifferentFrom(OntologyResource) |
Adds a new owl:differentFrom triple for the resource.
(Inherited from OntologyResource.) | |
AddDisjointClass(Uri) |
Adds a new disjoint class for this class.
| |
AddDisjointClass(INode) |
Adds a new disjoint class for this class.
| |
AddDisjointClass(OntologyClass) |
Adds a new disjoint class for this class.
| |
AddDisjointClass(OntologyResource) |
Adds a new disjoint class for this class.
| |
AddEquivalentClass(Uri) |
Adds an equivalent class for this class.
| |
AddEquivalentClass(INode) |
Adds an equivalent class for this class.
| |
AddEquivalentClass(OntologyClass) |
Adds an equivalent class for this class.
| |
AddEquivalentClass(OntologyResource) |
Adds an equivalent class for this class.
| |
AddIsDefinedBy(Uri) |
Adds a new rdfs:isDefinedBy triple for the resource.
(Inherited from OntologyResource.) | |
AddIsDefinedBy(INode) |
Adds a new rdfs:isDefinedBy triple for the resource.
(Inherited from OntologyResource.) | |
AddIsDefinedBy(OntologyResource) |
Adds a new rdfs:isDefinedBy triple for the resource.
(Inherited from OntologyResource.) | |
AddLabel(String) |
Adds a label for the resource.
(Inherited from OntologyResource.) | |
AddLabel(String, String) |
Adds a label in a specific language for a resource.
(Inherited from OntologyResource.) | |
AddLiteralProperty(String, ILiteralNode, Boolean) |
Adds a new literal value for a property.
(Inherited from OntologyResource.) | |
AddLiteralProperty(Uri, ILiteralNode, Boolean) |
Adds a new literal value for a property.
(Inherited from OntologyResource.) | |
AddResourceProperty(String, INode, Boolean) |
Adds a new value for a property.
(Inherited from OntologyResource.) | |
AddResourceProperty(Uri, INode, Boolean) |
Adds a new value for a property.
(Inherited from OntologyResource.) | |
AddSameAs(Uri) |
Adds a new owl:sameAs triple for the resource.
(Inherited from OntologyResource.) | |
AddSameAs(INode) |
Adds a new owl:sameAs triple for the resource.
(Inherited from OntologyResource.) | |
AddSameAs(OntologyResource) |
Adds a new owl:sameAs triple for the resource.
(Inherited from OntologyResource.) | |
AddSeeAlso(Uri) |
Adds a new rdfs:seeAlso triple for the resource.
(Inherited from OntologyResource.) | |
AddSeeAlso(INode) |
Adds a new rdfs:seeAlso triple for the resource.
(Inherited from OntologyResource.) | |
AddSeeAlso(OntologyResource) |
Adds a new rdfs:seeAlso triple for the resource.
(Inherited from OntologyResource.) | |
AddSubClass(Uri) |
Adds a new sub-class for this class.
| |
AddSubClass(INode) |
Adds a new sub-class for this class.
| |
AddSubClass(OntologyClass) |
Adds a new sub-class for this class.
| |
AddSubClass(OntologyResource) |
Adds a new sub-class for this class.
| |
AddSuperClass(Uri) |
Adds a new super-class for this class.
| |
AddSuperClass(INode) |
Adds a new super-class for this class.
| |
AddSuperClass(OntologyClass) |
Adds a new super-class for this class.
| |
AddSuperClass(OntologyResource) |
Adds a new super-class for this class.
| |
AddType(Uri) |
Adds a new rdf:type triple for the resource.
(Inherited from OntologyResource.) | |
AddType(INode) |
Adds a new rdf:type triple for the resource.
(Inherited from OntologyResource.) | |
AddType(OntologyResource) |
Adds a new rdf:type triple for the resource.
(Inherited from OntologyResource.) | |
AddVersionInfo |
Adds version information for the resource.
(Inherited from OntologyResource.) | |
AsClass |
Casts a Resource into an Ontology Class.
(Inherited from OntologyResource.) | |
AsProperty |
Casts a Resource into an Ontology Property.
(Inherited from OntologyResource.) | |
ClearComments |
Removes all comments for this resource.
(Inherited from OntologyResource.) | |
ClearDifferentFrom |
Clears all owl:differentFrom triples for the resource.
(Inherited from OntologyResource.) | |
ClearDisjointClasses |
Removes all disjoint classes for this class.
| |
ClearEquivalentClasses |
Removes all equivalent classes for this class.
| |
ClearIsDefinedBy |
Removes all rdfs:isDefinedBy triples for the resource.
(Inherited from OntologyResource.) | |
ClearLabels |
Clears all labels for a resource.
(Inherited from OntologyResource.) | |
ClearLiteralProperty(String, Boolean) |
Clears all values for a Literal Property.
(Inherited from OntologyResource.) | |
ClearLiteralProperty(Uri, Boolean) |
Clears all values for a Literal Property.
(Inherited from OntologyResource.) | |
ClearResourceProperty(String, Boolean) |
Clears all values for a Resource Property.
(Inherited from OntologyResource.) | |
ClearResourceProperty(Uri, Boolean) |
Clears all values for a Resource Property.
(Inherited from OntologyResource.) | |
ClearSameAs |
Removes all owl:sameAs triples for the resource.
(Inherited from OntologyResource.) | |
ClearSeeAlso |
Removes all rdfs:seeAlso triples for the resource.
(Inherited from OntologyResource.) | |
ClearSubClasses |
Removes all sub-classes for this class.
| |
ClearSuperClasses |
Removes all super-classes.
| |
ClearTypes |
Removes all rdf:type triples for the resource.
(Inherited from OntologyResource.) | |
ClearVersionInfo |
Clears version information for the resource.
(Inherited from OntologyResource.) | |
CreateIndividual |
Gets/Creates an Individual of this class.
| |
Equals |
Gets whether this Class is equal to another Class.
(Overrides ObjectEquals(Object).) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetLiteralProperty(String) |
Gets the values for a property which is restricted to literals.
(Inherited from OntologyResource.) | |
GetLiteralProperty(Uri) |
Gets the values for a property which is restricted to literals.
(Inherited from OntologyResource.) | |
GetResourceProperty(String) |
Gets the values for a property which can be any node type.
(Inherited from OntologyResource.) | |
GetResourceProperty(Uri) |
Gets the values for a property which can be any node type.
(Inherited from OntologyResource.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
IntialiseProperty |
Retrieves all the Triples which have the Resource as the subject and the given property URI as the predicate from the Graph and stores the values locally.
(Inherited from OntologyResource.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
RemoveComment(String) |
Removes a comment for this resource.
(Inherited from OntologyResource.) | |
RemoveComment(ILiteralNode) |
Removes a comment for this resource.
(Inherited from OntologyResource.) | |
RemoveComment(String, String) |
Removes a comment in a specific language for this resource.
(Inherited from OntologyResource.) | |
RemoveDifferentFrom(Uri) |
Removes a owl:differentFrom triple for the resource.
(Inherited from OntologyResource.) | |
RemoveDifferentFrom(INode) |
Removes a owl:differentFrom triple for the resource.
(Inherited from OntologyResource.) | |
RemoveDifferentFrom(OntologyResource) |
Removes a owl:differentFrom triple for the resource.
(Inherited from OntologyResource.) | |
RemoveDisjointClass(Uri) |
Removes a disjoint class for this class.
| |
RemoveDisjointClass(INode) |
Removes a disjoint class for this class.
| |
RemoveDisjointClass(OntologyClass) |
Removes a disjoint class for this class.
| |
RemoveDisjointClass(OntologyResource) |
Removes a disjoint class for this class.
| |
RemoveEquivalentClass(Uri) |
Removes an equivalent class for this class.
| |
RemoveEquivalentClass(INode) |
Removes an equivalent class for this class.
| |
RemoveEquivalentClass(OntologyClass) |
Removes an equivalent class for this class.
| |
RemoveEquivalentClass(OntologyResource) |
Removes an equivalent class for this class.
| |
RemoveIsDefinedBy(Uri) |
Removes a rdfs:isDefinedBy triple for the resource.
(Inherited from OntologyResource.) | |
RemoveIsDefinedBy(INode) |
Removes a rdfs:isDefinedBy triple for the resource.
(Inherited from OntologyResource.) | |
RemoveIsDefinedBy(OntologyResource) |
Removes a rdfs:isDefinedBy triple for the resource.
(Inherited from OntologyResource.) | |
RemoveLabel(String) |
Removes a label for a resource.
(Inherited from OntologyResource.) | |
RemoveLabel(ILiteralNode) |
Removes a specific label for a resource.
(Inherited from OntologyResource.) | |
RemoveLabel(String, String) |
Removes a label in a specific language for a resource.
(Inherited from OntologyResource.) | |
RemoveLiteralProperty(String, ILiteralNode, Boolean) |
Removes a literal value for a property.
(Inherited from OntologyResource.) | |
RemoveLiteralProperty(Uri, ILiteralNode, Boolean) |
Removes a literal value for a property.
(Inherited from OntologyResource.) | |
RemoveResourceProperty(String, INode, Boolean) |
Removes a value for a property.
(Inherited from OntologyResource.) | |
RemoveResourceProperty(Uri, INode, Boolean) |
Removes a value for a property.
(Inherited from OntologyResource.) | |
RemoveSameAs(Uri) |
Removes a owl:sameAs triple for the resource.
(Inherited from OntologyResource.) | |
RemoveSameAs(INode) |
Removes a owl:sameAs triple for the resource.
(Inherited from OntologyResource.) | |
RemoveSameAs(OntologyResource) |
Removes a owl:sameAs triple for the resource.
(Inherited from OntologyResource.) | |
RemoveSeeAlso(Uri) |
Removes a rdfs:seeAlso triple for the resource.
(Inherited from OntologyResource.) | |
RemoveSeeAlso(INode) |
Removes a rdfs:seeAlso triple for the resource.
(Inherited from OntologyResource.) | |
RemoveSeeAlso(OntologyResource) |
Removes a rdfs:seeAlso triple for the resource.
(Inherited from OntologyResource.) | |
RemoveSubClass(Uri) |
Removes a sub-class for this class.
| |
RemoveSubClass(INode) |
Removes a sub-class for this class.
| |
RemoveSubClass(OntologyClass) |
Removes a sub-class for this class.
| |
RemoveSubClass(OntologyResource) |
Removes a sub-class for this class.
| |
RemoveSuperClass(Uri) |
Removes a super-class for this class.
| |
RemoveSuperClass(INode) |
Removes a super-class for this class.
| |
RemoveSuperClass(OntologyClass) |
Removes a super-class for this class.
| |
RemoveSuperClass(OntologyResource) |
Removes a super-class for this class.
| |
RemoveType(Uri) |
Removes a rdf:type triple for the resource.
(Inherited from OntologyResource.) | |
RemoveType(INode) |
Removes a rdf:type triple for the resource.
(Inherited from OntologyResource.) | |
RemoveType(OntologyResource) |
Removes a rdf:type triple for the resource.
(Inherited from OntologyResource.) | |
RemoveVersionInfo(String) |
Remove version information for the resource.
(Inherited from OntologyResource.) | |
RemoveVersionInfo(ILiteralNode) |
Remove version information for the resource.
(Inherited from OntologyResource.) | |
ToString |
Gets the String representation of the Resource.
(Inherited from OntologyResource.) |
Name | Description | |
---|---|---|
_graph |
The Graph from which this Resource originates.
(Inherited from OntologyResource.) | |
_literalProperties |
Storage of Literal Properties.
(Inherited from OntologyResource.) | |
_resource |
The Node which this Resource is a wrapper around.
(Inherited from OntologyResource.) | |
_resourceProperties |
Storage of Resource Properties.
(Inherited from OntologyResource.) |
See Using the Ontology API for some informal documentation on the use of the Ontology namespace.