class Ontology |
|
Ontology represents one ontology specified using NRL.
Deprecated in favor of Nepomuk.Types.Ontology |
|
Default constructor. Creates an empty Ontology. |
|
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 0 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 0 if the class could not be found. |
|
Search for a class in the ontology by its name.
uri - the URI of the class Returns the Class object identified by uri or 0 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 0 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 0 if the property could not be found. |
|
Search for a property in the ontology by its name.
uri - the URI of the property Returns the Property object identified by uri or 0 if the property could not be found. |
|
Loads an ontology.
Dependancies are resolved automatically if possible. Returns An Ontology object representing the ontology identified by uri or an invalid Ontology object if the resource identified by uri is either not an ontology or does not exist. |
|
The URI of the ontology, i.e. its namespace |