open-physiology / open-physiology-viewer

Apache License 2.0
7 stars 7 forks source link

objects identified via fullID are not correctly serialized #221

Closed tgbugs closed 1 year ago

tgbugs commented 1 year ago

e.g. for apinatomy:annotates only the value of fullID should be present in the list not an object with a single fullID key and value.

tgbugs commented 1 year ago

This is also an issue because in the current generated model only id is used which will lead to collisions and confusion if e.g. an ontology id annotates two internal objects that have the same id but different fullIDs.

edit: this might just be confusing because jsonld doesn't allow the empty prefix so you can't use :value to distinguish from value.

tgbugs commented 1 year ago

Actually it seems that this might be an issue with the jsonld flattening.