Open
Description
The interface of owlapy should strictily follow OWL 2 Web Ontology Language Structural Specification and Functional-Style Syntax .
This would help increase the user satisfaction, e.g., less time in learning how the library works.
For instance, I guess owlapy.class_expression should follow the structure of Class Expressions section.
The Class Expression definition provided in the recommendation
ClassExpression :=
Class |
ObjectIntersectionOf | ObjectUnionOf | ObjectComplementOf | ObjectOneOf |
ObjectSomeValuesFrom | ObjectAllValuesFrom | ObjectHasValue | ObjectHasSelf |
ObjectMinCardinality | ObjectMaxCardinality | ObjectExactCardinality |
DataSomeValuesFrom | DataAllValuesFrom | DataHasValue |
DataMinCardinality | DataMaxCardinality | DataExactCardinality
would lead to the following
from owlapy.class_expression import OWLClass, ObjectIntersectionOf, ObjectUnionOf, ObjectComplementOf, ObjectOneOf, ObjectSomeValuesFrom, ObjectAllValuesFrom, ObjectHasValue, ObjectHasSelf, ObjectMinCardinality, ObjectMaxCardinality, ObjectExactCardinality, DataSomeValuesFrom, DataAllValuesFrom, DataHasValue, DataMinCardinality, DataMaxCardinality, DataExactCardinality
Is there any downside of this ? @alkidbaci @LckyLke ?
Metadata
Metadata
Assignees
Labels
No labels