class Ontology |
|
\class Ontology ontology.h Nepomuk/Types/Ontology
Represents one ontology.
Author Sebastian Trueg |
|
Default constructor. Creates an empty Ontology. |
|
Create the ontology referred to by uri.
The result is either a valid ontology which could be loaded from the
Nepomuk store or a simple class which only contains the uri.
Be aware that the data is only loaded once read. Subsequent calls result in a simple hash lookup of cached data. |
|
Default copy constructor |
|
All classes defined in this ontology, i.e. its namespace. |
|
A list of all properties defined in this ontology. This does not include properties that use classes of this ontology but are defined in a different one. |
|
Search for a class in the ontology by its label.
label - The label of the class (i.e. rdfs:label) language - The language in which the label was specified. If empty the default rdfs:label is returned. Returns the Class object identified by label or an invalid one if the class could not be found. |
|
Search for a class in the ontology by its name.
name - The name of the class. Returns the Class object identified by name or an invalid one if the class could not be found. |
|
Search for a property in the ontology by its label.
label - The label of the property (i.e. rdfs:label) language - The language in which the label was specified. If empty the default rdfs:label is returned. Returns the Property object identified by label or an invalid one if the property could not be found. |
|
Search for a property in the ontology by its name.
name - The name of the property. Returns the Property object identified by name or an invalid one if the property could not be found. |