sssom-py icon indicating copy to clipboard operation
sssom-py copied to clipboard

Consider linkml-owl for OWL conversion

Open matentzn opened this issue 3 years ago • 2 comments

https://github.com/linkml/linkml-owl

I wonder how that will look different? we do a bit of convenience processing on the OWL output..

matentzn avatar Jan 17 '22 18:01 matentzn

There might be a marginal gain in simplifying code in sssom-py that handles subclass-some-values-from, but otherwise we don't really do complex axioms in sssom.

there is also a bit of a mismatch. linkml-owl allows you to control the mapping to tboxes at the schema level (i.e map my part-of column to SomeValuesFrom). But for sssom this is handled at the data level. E.g the value of mapping_predicate determines the transform.

cmungall avatar Jan 22 '22 01:01 cmungall

Note that sssom-py does not currently handle the transform to existentials automatically. Neither is it possible to guess wether a property is an OP or AP from the data level alone - you need metadata, for example derived from RO, to do this, unless there is something like "property_type" in sssom.

matentzn avatar Jan 24 '22 12:01 matentzn