owlapy.owlready2.OWLOntology_Owlready2¶
-
class
owlapy.owlready2.
OWLOntology_Owlready2
(manager: owlapy.owlready2.OWLOntologyManager_Owlready2, ontology_iri: owlapy.model.IRI, load: bool)¶ Bases:
owlapy.model.OWLOntology
Methods
Gets the classes in the signature of this object.
Get the data properties that are in the signature of this object.
Gets the OWLDataPropertyDomainAxiom objects where the property is equal to the specified property.
Gets the OWLDataPropertyRangeAxiom objects where the property is equal to the specified property.
Gets the OWLOntologyID belonging to this object.
Gets the manager that manages this ontology
A convenience method that obtains the individuals that are in the signature of this object.
A convenience method that obtains the object properties that are in the signature of this object.
Gets the OWLObjectPropertyDomainAxiom objects where the property is equal to the specified property.
Gets the OWLObjectPropertyRangeAxiom objects where the property is equal to the specified property.
Attributes
-
classes_in_signature
() → Iterable[owlapy.model.OWLClass][source]¶ Gets the classes in the signature of this object.
- Returns:
Classes in the signature of this object
-
data_properties_in_signature
() → Iterable[owlapy.model.OWLDataProperty][source]¶ Get the data properties that are in the signature of this object.
- Returns:
Data properties that are in the signature of this object
-
data_property_domain_axioms
(pe: owlapy.model.OWLDataProperty) → Iterable[owlapy.model.OWLDataPropertyDomainAxiom][source]¶ Gets the OWLDataPropertyDomainAxiom objects where the property is equal to the specified property.
- Parameters:
property – The property which is equal to the property of the retrieved axioms.
- Returns:
the axioms matching the search.
-
data_property_range_axioms
(pe: owlapy.model.OWLDataProperty) → Iterable[owlapy.model.OWLDataPropertyRangeAxiom][source]¶ Gets the OWLDataPropertyRangeAxiom objects where the property is equal to the specified property.
- Parameters:
property – The property which is equal to the property of the retrieved axioms.
- Returns:
the axioms matching the search.
-
get_ontology_id
() → owlapy.model.OWLOntologyID[source]¶ Gets the OWLOntologyID belonging to this object.
- Returns:
The OWLOntologyID
-
get_owl_ontology_manager
() → owlapy.owlready2.OWLOntologyManager_Owlready2[source]¶ Gets the manager that manages this ontology
-
individuals_in_signature
() → Iterable[owlapy.model.OWLNamedIndividual][source]¶ A convenience method that obtains the individuals that are in the signature of this object.
- Returns:
Individuals that are in the signature of this object.
-
is_anonymous
() → bool¶
-
object_properties_in_signature
() → Iterable[owlapy.model.OWLObjectProperty][source]¶ A convenience method that obtains the object properties that are in the signature of this object.
- Returns:
Object properties that are in the signature of this object
-
object_property_domain_axioms
(pe: owlapy.model.OWLObjectProperty) → Iterable[owlapy.model.OWLObjectPropertyDomainAxiom][source]¶ Gets the OWLObjectPropertyDomainAxiom objects where the property is equal to the specified property.
- Parameters:
property – The property which is equal to the property of the retrieved axioms.
- Returns:
the axioms matching the search.
-
object_property_range_axioms
(pe: owlapy.model.OWLObjectProperty) → Iterable[owlapy.model.OWLObjectPropertyRangeAxiom][source]¶ Gets the OWLObjectPropertyRangeAxiom objects where the property is equal to the specified property.
- Parameters:
property – The property which is equal to the property of the retrieved axioms.
- Returns:
the axioms matching the search.
-
type_index
: Final = 1¶
-