owlapy.model.OWLObjectPropertyAssertionAxiom

class owlapy.model.OWLObjectPropertyAssertionAxiom(subject: owlapy.model.OWLIndividual, property_: owlapy.model.OWLObjectPropertyExpression, object_: owlapy.model.OWLIndividual, annotations: Optional[Iterable[owlapy.model.OWLAnnotation]] = None)[source]

Bases: owlapy.model.OWLPropertyAssertionAxiom[owlapy.model.OWLObjectPropertyExpression, owlapy.model.OWLIndividual]

Represents an ObjectPropertyAssertion axiom in the OWL 2 specification

Get a PropertyAssertion axiom for the specified subject, property, object :param subject: the subject of the property assertion :param property: the property of the property assertion :param object: the object of the property assertion :param annotations: annotations

Methods

annotations

get_object

get_property

get_subject

is_annotated

is_annotation_axiom

is_anonymous

is_logical_axiom

annotations()Optional[List[owlapy.model.OWLAnnotation]]
get_object()_C
get_property()_P
get_subject()owlapy.model.OWLIndividual
is_annotated()bool
is_annotation_axiom()bool
is_anonymous()bool
is_logical_axiom()bool