owlapy.owlready2.utils.ToOwlready2¶
-
class
owlapy.owlready2.utils.
ToOwlready2
(world: owlready2.namespace.World)[source]¶ Bases:
object
Methods
-
map_concept
(o: owlapy.model.OWLClassExpression) → Union[owlready2.class_construct.ClassConstruct, owlready2.entity.ThingClass][source]¶ -
map_concept
(c: owlapy.model.OWLClass) → owlready2.entity.ThingClass -
map_concept
(c: owlapy.model.OWLObjectComplementOf) → owlready2.class_construct.Not -
map_concept
(ce: owlapy.model.OWLObjectUnionOf) → owlready2.class_construct.Or -
map_concept
(ce: owlapy.model.OWLObjectIntersectionOf) → owlready2.class_construct.And -
map_concept
(ce: owlapy.model.OWLObjectSomeValuesFrom) → owlready2.class_construct.Restriction -
map_concept
(ce: owlapy.model.OWLObjectAllValuesFrom) → owlready2.class_construct.Restriction -
map_concept
(ce: owlapy.model.OWLObjectOneOf) → owlready2.class_construct.OneOf -
map_concept
(ce: owlapy.model.OWLObjectExactCardinality) → owlready2.class_construct.Restriction -
map_concept
(ce: owlapy.model.OWLObjectMaxCardinality) → owlready2.class_construct.Restriction -
map_concept
(ce: owlapy.model.OWLObjectMinCardinality) → owlready2.class_construct.Restriction -
map_concept
(ce: owlapy.model.OWLObjectHasValue) → owlready2.class_construct.Restriction -
map_concept
(ce: owlapy.model.OWLDataSomeValuesFrom) → owlready2.class_construct.Restriction -
map_concept
(ce: owlapy.model.OWLDataAllValuesFrom) → owlready2.class_construct.Restriction -
map_concept
(ce: owlapy.model.OWLDataExactCardinality) → owlready2.class_construct.Restriction -
map_concept
(ce: owlapy.model.OWLDataMaxCardinality) → owlready2.class_construct.Restriction -
map_concept
(ce: owlapy.model.OWLDataMinCardinality) → owlready2.class_construct.Restriction -
map_concept
(ce: owlapy.model.OWLDataHasValue) → owlready2.class_construct.Restriction
-
map_datarange
(p: owlapy.model.OWLDataRange) → Union[owlready2.class_construct.ClassConstruct, type][source]¶ -
map_datarange
(p: owlapy.model.OWLDataComplementOf) → owlready2.class_construct.Not -
map_datarange
(p: owlapy.model.OWLDataUnionOf) → owlready2.class_construct.Or -
map_datarange
(p: owlapy.model.OWLDataIntersectionOf) → owlready2.class_construct.And -
map_datarange
(p: owlapy.model.OWLDataOneOf) → owlready2.class_construct.OneOf -
map_datarange
(p: owlapy.model.OWLDatatypeRestriction) → owlready2.class_construct.ConstrainedDatatype -
map_datarange
(type_: owlapy.model.OWLDatatype) → type
-
map_object
(o: owlapy.model.OWLObject)[source]¶ -
map_object
(ce: owlapy.model.OWLClassExpression) → Union[owlready2.class_construct.ClassConstruct, owlready2.entity.ThingClass] -
map_object
(ont: owlapy.model.OWLOntology) → owlready2.namespace.Ontology -
map_object
(ap: owlapy.model.OWLAnnotationProperty) → owlready2.annotation.AnnotationPropertyClass
-