Family name etc not in "Properties from User" #18
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This is an ongoing struggle...
In https://github.com/psychoinformatics-de/shacl-vue/pull/104, the latest property grouping approach was introduced:
It seems like this approach did not foresee the situation that we have currently, where both
Personand its inheriting classUserhave properties likefamily_nameannotated with the exact samesh:order(or any other key/value for that matter). So what happens is that when a form forUseris opened, the latest grouping approach will place it in the "Properties from Person" group, which we don't want.This stems from the same issue that was discussed in the above mentioned PR, which is that there is no machine-actionable knowledge about annotation inheritance in the shacl that is exported from a linkml schema. IOW, if the
Personnode shape hassh:order: 1for a given property, and theUsernode shape also hassh:order: 1for that same property, we assume that this property shape has been inherited because that is the default behaviour. There is no way of knowing from an exactly matched property shape that theUserclass was in fact also annotated with the same key/value pairs. That is unless the annotations changed, in which case the property shapes change.A patchy solution would be to add another annotation to that same property in the inheriting class, such that it forces a change to be recognised in the exported shacl. Alternatively the order value could be changed. It can be a decimal value too.
I will try to think of other ways to deal with this in the code rather than annotation, but I doubt that I will come up with a sound alternative.
This has been addressed.