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

classes_in_signature

Gets the classes in the signature of this object.

data_properties_in_signature

Get the data properties that are in the signature of this object.

data_property_domain_axioms

Gets the OWLDataPropertyDomainAxiom objects where the property is equal to the specified property.

data_property_range_axioms

Gets the OWLDataPropertyRangeAxiom objects where the property is equal to the specified property.

get_ontology_id

Gets the OWLOntologyID belonging to this object.

get_owl_ontology_manager

Gets the manager that manages this ontology

individuals_in_signature

A convenience method that obtains the individuals that are in the signature of this object.

is_anonymous

object_properties_in_signature

A convenience method that obtains the object properties that are in the signature of this object.

object_property_domain_axioms

Gets the OWLObjectPropertyDomainAxiom objects where the property is equal to the specified property.

object_property_range_axioms

Gets the OWLObjectPropertyRangeAxiom objects where the property is equal to the specified property.

Attributes

type_index

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