Widoco icon indicating copy to clipboard operation
Widoco copied to clipboard

If a property has an union domain, it won't appear in the domain of the respective classes

Open dgarijo opened this issue 5 years ago • 6 comments

For example: name is a property and its domain is (Person or Dog). the name property will appear with 2 domains listed: Person or Dog. However in "Person" it won't appear in the "is in domain of" field. Technically speaking it is correct because the domain is the union. But in practice, the documentation should show the property as "in domain" of both classes. (Or maybe with a remark stating that is part of a union domain).

dgarijo avatar Mar 31 '20 23:03 dgarijo

This would be a great (and needed) feature for my use case. Is there a plan or priority put to implement it? Thanks!

vtoure avatar Jan 07 '21 08:01 vtoure

Hi @vtoure, in https://github.com/dgarijo/Widoco/milestones you can see the next issues I will be tackling in WIDOCO. I will come back to this one, but it will have to wait for a bit, as it requires editing the lode transformations

dgarijo avatar Jan 07 '21 19:01 dgarijo

Ontology to test this out: http://id.e-science.pl/ontologies/azonOnto.ttl

dgarijo avatar May 24 '21 08:05 dgarijo

I opened a PR to fix this, :) I would appreciate it if it can be in the next release since I needed to add a custom temp fix to my project. How can I help to do so ? Thank you for this wonderful projet :)

Murloc6 avatar Feb 08 '24 10:02 Murloc6

Thanks @Murloc6 !! Will try to do a merge soon. Please change the target branch of your PR to the develop branch.

dgarijo avatar Feb 08 '24 10:02 dgarijo

Fixed in https://github.com/dgarijo/Widoco/pull/679, I just need to build a test to verify everything works :)

dgarijo avatar Feb 08 '24 22:02 dgarijo