biolink / biolinkml

DEPRECATED: replaced by linkml
https://github.com/linkml/linkml
Creative Commons Zero v1.0 Universal
23 stars 12 forks source link

symmetry and inverse characteristics are not translated in OWL #290

Closed cmungall closed 3 years ago

cmungall commented 3 years ago
id: http://example.org/tests/issue63

classes:
  c:

slots:
  s:
    inverse: t
    symmetric: true
    range: c

  t:
    range: c

gen-owl makes

<http://example.org/tests/issue63/s> a owl:ObjectProperty,
        meta:SlotDefinition ;
    rdfs:label "s" ;
    rdfs:domain <http://example.org/tests/issue63/C> ;
    rdfs:range <http://example.org/tests/issue63/C> .

(aside: I see if infers the domain, nice)