Click or drag to resize

Individual Class

Represents an Individual i.e. an instance of some class in an ontology.
Inheritance Hierarchy

Namespace:  VDS.RDF.Ontology
Assembly:  dotNetRDF (in dotNetRDF.dll) Version:
Syntax
public class Individual : OntologyResource

The Individual type exposes the following members.

Constructors
  NameDescription
Public methodIndividual(INode, IGraph)
Gets an Individual from the Graph.
Public methodIndividual(INode, INode, IGraph)
Gets/Creates an Individual from the Graph.
Top
Properties
  NameDescription
Public propertyClasses
Gets all the Classes that this resource belongs to.
Public propertyComment
Gets the Comment(s) for the Resource.
(Inherited from OntologyResource.)
Public propertyDifferentFrom
Gets the Different From(s) for the Resource.
(Inherited from OntologyResource.)
Public propertyGraph
Gets the Graph that this Ontology Resource is from.
(Inherited from OntologyResource.)
Public propertyIsDefinedBy
Gets the Is Defined By(s) for the Resource.
(Inherited from OntologyResource.)
Public propertyLabel
Gets the Label(s) for the Resource.
(Inherited from OntologyResource.)
Public propertyResource
Gets the Resource that this Ontology Resource refers to.
(Inherited from OntologyResource.)
Public propertySameAs
Gets the Same As('s) for the Resource.
(Inherited from OntologyResource.)
Public propertySeeAlso
Gets the See Also(s) for the Resource.
(Inherited from OntologyResource.)
Public propertyTriples
Gets all the Triples where the Resource occurs in any position.
(Inherited from OntologyResource.)
Public propertyTriplesWithObject
Gets all the Triples from the Graph where the Resource occurs as the Object.
(Inherited from OntologyResource.)
Public propertyTriplesWithPredicate
Gets all the Triples from the Graph where the Resource occurs as the Predicate.
(Inherited from OntologyResource.)
Public propertyTriplesWithSubject
Gets all the Triples from the Graph where the Resource occurs as the Subject.
(Inherited from OntologyResource.)
Public propertyTypes
Gets the rdf:type's for the Resource.
(Inherited from OntologyResource.)
Public propertyVersionInfo
Gets the Version Information for the Resource.
(Inherited from OntologyResource.)
Top
Methods
  NameDescription
Public methodAddComment(String)
Adds a comment for this resource.
(Inherited from OntologyResource.)
Public methodAddComment(String, String)
Adds a comment in a specific language for this resource.
(Inherited from OntologyResource.)
Public methodAddDifferentFrom(Uri)
Adds a new owl:differentFrom triple for the resource.
(Inherited from OntologyResource.)
Public methodAddDifferentFrom(INode)
Adds a new owl:differentFrom triple for the resource.
(Inherited from OntologyResource.)
Public methodAddDifferentFrom(OntologyResource)
Adds a new owl:differentFrom triple for the resource.
(Inherited from OntologyResource.)
Public methodAddIsDefinedBy(Uri)
Adds a new rdfs:isDefinedBy triple for the resource.
(Inherited from OntologyResource.)
Public methodAddIsDefinedBy(INode)
Adds a new rdfs:isDefinedBy triple for the resource.
(Inherited from OntologyResource.)
Public methodAddIsDefinedBy(OntologyResource)
Adds a new rdfs:isDefinedBy triple for the resource.
(Inherited from OntologyResource.)
Public methodAddLabel(String)
Adds a label for the resource.
(Inherited from OntologyResource.)
Public methodAddLabel(String, String)
Adds a label in a specific language for a resource.
(Inherited from OntologyResource.)
Public methodAddLiteralProperty(String, ILiteralNode, Boolean)
Adds a new literal value for a property.
(Inherited from OntologyResource.)
Public methodAddLiteralProperty(Uri, ILiteralNode, Boolean)
Adds a new literal value for a property.
(Inherited from OntologyResource.)
Public methodAddResourceProperty(String, INode, Boolean)
Adds a new value for a property.
(Inherited from OntologyResource.)
Public methodAddResourceProperty(Uri, INode, Boolean)
Adds a new value for a property.
(Inherited from OntologyResource.)
Public methodAddSameAs(Uri)
Adds a new owl:sameAs triple for the resource.
(Inherited from OntologyResource.)
Public methodAddSameAs(INode)
Adds a new owl:sameAs triple for the resource.
(Inherited from OntologyResource.)
Public methodAddSameAs(OntologyResource)
Adds a new owl:sameAs triple for the resource.
(Inherited from OntologyResource.)
Public methodAddSeeAlso(Uri)
Adds a new rdfs:seeAlso triple for the resource.
(Inherited from OntologyResource.)
Public methodAddSeeAlso(INode)
Adds a new rdfs:seeAlso triple for the resource.
(Inherited from OntologyResource.)
Public methodAddSeeAlso(OntologyResource)
Adds a new rdfs:seeAlso triple for the resource.
(Inherited from OntologyResource.)
Public methodAddType(Uri)
Adds a new rdf:type triple for the resource.
(Inherited from OntologyResource.)
Public methodAddType(INode)
Adds a new rdf:type triple for the resource.
(Inherited from OntologyResource.)
Public methodAddType(OntologyResource)
Adds a new rdf:type triple for the resource.
(Inherited from OntologyResource.)
Public methodAddVersionInfo
Adds version information for the resource.
(Inherited from OntologyResource.)
Public methodAsClass
Casts a Resource into an Ontology Class.
(Inherited from OntologyResource.)
Public methodAsProperty
Casts a Resource into an Ontology Property.
(Inherited from OntologyResource.)
Public methodClearComments
Removes all comments for this resource.
(Inherited from OntologyResource.)
Public methodClearDifferentFrom
Clears all owl:differentFrom triples for the resource.
(Inherited from OntologyResource.)
Public methodClearIsDefinedBy
Removes all rdfs:isDefinedBy triples for the resource.
(Inherited from OntologyResource.)
Public methodClearLabels
Clears all labels for a resource.
(Inherited from OntologyResource.)
Public methodClearLiteralProperty(String, Boolean)
Clears all values for a Literal Property.
(Inherited from OntologyResource.)
Public methodClearLiteralProperty(Uri, Boolean)
Clears all values for a Literal Property.
(Inherited from OntologyResource.)
Public methodClearResourceProperty(String, Boolean)
Clears all values for a Resource Property.
(Inherited from OntologyResource.)
Public methodClearResourceProperty(Uri, Boolean)
Clears all values for a Resource Property.
(Inherited from OntologyResource.)
Public methodClearSameAs
Removes all owl:sameAs triples for the resource.
(Inherited from OntologyResource.)
Public methodClearSeeAlso
Removes all rdfs:seeAlso triples for the resource.
(Inherited from OntologyResource.)
Public methodClearTypes
Removes all rdf:type triples for the resource.
(Inherited from OntologyResource.)
Public methodClearVersionInfo
Clears version information for the resource.
(Inherited from OntologyResource.)
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetLiteralProperty(String)
Gets the values for a property which is restricted to literals.
(Inherited from OntologyResource.)
Public methodGetLiteralProperty(Uri)
Gets the values for a property which is restricted to literals.
(Inherited from OntologyResource.)
Public methodGetResourceProperty(String)
Gets the values for a property which can be any node type.
(Inherited from OntologyResource.)
Public methodGetResourceProperty(Uri)
Gets the values for a property which can be any node type.
(Inherited from OntologyResource.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodHasClass(Uri)
Gets whether the Individual belongs to a class identified by the given URI.
Public methodHasClass(INode)
Gets whether the Individual belongs to a class identified by the given resource.
Public methodHasClass(OntologyClass)
Gets whether the Individual belongs to a specific class.
Protected methodIntialiseProperty
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.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodRemoveComment(String)
Removes a comment for this resource.
(Inherited from OntologyResource.)
Public methodRemoveComment(ILiteralNode)
Removes a comment for this resource.
(Inherited from OntologyResource.)
Public methodRemoveComment(String, String)
Removes a comment in a specific language for this resource.
(Inherited from OntologyResource.)
Public methodRemoveDifferentFrom(Uri)
Removes a owl:differentFrom triple for the resource.
(Inherited from OntologyResource.)
Public methodRemoveDifferentFrom(INode)
Removes a owl:differentFrom triple for the resource.
(Inherited from OntologyResource.)
Public methodRemoveDifferentFrom(OntologyResource)
Removes a owl:differentFrom triple for the resource.
(Inherited from OntologyResource.)
Public methodRemoveIsDefinedBy(Uri)
Removes a rdfs:isDefinedBy triple for the resource.
(Inherited from OntologyResource.)
Public methodRemoveIsDefinedBy(INode)
Removes a rdfs:isDefinedBy triple for the resource.
(Inherited from OntologyResource.)
Public methodRemoveIsDefinedBy(OntologyResource)
Removes a rdfs:isDefinedBy triple for the resource.
(Inherited from OntologyResource.)
Public methodRemoveLabel(String)
Removes a label for a resource.
(Inherited from OntologyResource.)
Public methodRemoveLabel(ILiteralNode)
Removes a specific label for a resource.
(Inherited from OntologyResource.)
Public methodRemoveLabel(String, String)
Removes a label in a specific language for a resource.
(Inherited from OntologyResource.)
Public methodRemoveLiteralProperty(String, ILiteralNode, Boolean)
Removes a literal value for a property.
(Inherited from OntologyResource.)
Public methodRemoveLiteralProperty(Uri, ILiteralNode, Boolean)
Removes a literal value for a property.
(Inherited from OntologyResource.)
Public methodRemoveResourceProperty(String, INode, Boolean)
Removes a value for a property.
(Inherited from OntologyResource.)
Public methodRemoveResourceProperty(Uri, INode, Boolean)
Removes a value for a property.
(Inherited from OntologyResource.)
Public methodRemoveSameAs(Uri)
Removes a owl:sameAs triple for the resource.
(Inherited from OntologyResource.)
Public methodRemoveSameAs(INode)
Removes a owl:sameAs triple for the resource.
(Inherited from OntologyResource.)
Public methodRemoveSameAs(OntologyResource)
Removes a owl:sameAs triple for the resource.
(Inherited from OntologyResource.)
Public methodRemoveSeeAlso(Uri)
Removes a rdfs:seeAlso triple for the resource.
(Inherited from OntologyResource.)
Public methodRemoveSeeAlso(INode)
Removes a rdfs:seeAlso triple for the resource.
(Inherited from OntologyResource.)
Public methodRemoveSeeAlso(OntologyResource)
Removes a rdfs:seeAlso triple for the resource.
(Inherited from OntologyResource.)
Public methodRemoveType(Uri)
Removes a rdf:type triple for the resource.
(Inherited from OntologyResource.)
Public methodRemoveType(INode)
Removes a rdf:type triple for the resource.
(Inherited from OntologyResource.)
Public methodRemoveType(OntologyResource)
Removes a rdf:type triple for the resource.
(Inherited from OntologyResource.)
Public methodRemoveVersionInfo(String)
Remove version information for the resource.
(Inherited from OntologyResource.)
Public methodRemoveVersionInfo(ILiteralNode)
Remove version information for the resource.
(Inherited from OntologyResource.)
Public methodToString
Gets the String representation of the Resource.
(Inherited from OntologyResource.)
Top
Fields
  NameDescription
Protected field_graph
The Graph from which this Resource originates.
(Inherited from OntologyResource.)
Protected field_literalProperties
Storage of Literal Properties.
(Inherited from OntologyResource.)
Protected field_resource
The Node which this Resource is a wrapper around.
(Inherited from OntologyResource.)
Protected field_resourceProperties
Storage of Resource Properties.
(Inherited from OntologyResource.)
Top
Remarks

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

See Also