linkml / linkml-owl

Extension of LinkML runtime for converting instances of LinkML classes to OWL (classes or instances)
https://linkml.io/linkml-owl
11 stars 1 forks source link

local_names to OWL2 annotations? #35

Open goodb opened 1 year ago

goodb commented 1 year ago

Right now it seems that the OWL converter doesn't do anything with the 'local_names' construct. e.g. something like this from biolink

variant to entity association mixin: local_names: ga4gh: variant annotation

It would be cool if that produced altLabel annotations (e.g. here 'variant annotation') with associated source annotations ('ga4gh'). Would that be the right interpretation?

cmungall commented 1 year ago

Hi @goodb! I think that is exactly how it should work?

This would be easy to fit in if you need this soon, but otherwise I'd marginally prefer doing a bit of a refactor on owlgen first (it was one of the first generators and uses the older schemaloader framework)

goodb commented 1 year ago

Hi @cmungall :). No rush on my end for now. I'd volunteer to do it myself but if you have a planned refactor better to wait for that and get it done properly.