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

Populating only a single slot/attribute out of many that have IntersectionOf leads to no axiom generation #39

Open ShahimEssaid opened 1 year ago

ShahimEssaid commented 1 year ago

I have a Class that has multiple attributes with owl: ObjectSomeValuesFrom, EquivalentClasses, IntersectionOf. I noticed that if I only populate one of the attributes (I needed such an equivalence class), no equivalence axiom is generated. I have to populate at least 2 for the equivalence axiom (with an intersection) to be created. I understand that an intersection needs more than one attribute but the implementation should be forgiving and be able to generate the equivalence axiom without the intersection if there is only one attribute to work with. I'm cloning the class to have a different set of annotations (i.e no IntersectionOf ) as a workaround for now.

turbomam commented 10 months ago

Hi @ShahimEssaid did you ever get a response to this, or did you make progress on your own?