ontology-tools / py-horned-owl

A library for Web Ontology Language in Python created using a bridge from horned-owl to python using PyO3.
https://ontology-tools.github.io/py-horned-owl/
GNU Lesser General Public License v3.0
13 stars 6 forks source link

sub and sup are reversed in SubClassOf, SubPropertyOf, ... #32

Open cmungall opened 6 days ago

cmungall commented 6 days ago

The signature of SubClassOf is:

class SubClassOf:
    sup: ClassExpression
    sub: ClassExpression
    def __init__(self, sup: ClassExpression, sub: ClassExpression):
        ...
    ...

This means using PyHornedOwl, we'd write

This is different from functional syntax and decades of convention. Is this really intentional? Is it too late to change this?