Closed dosumis closed 4 years ago
The only obo thing about this (you invented that name at some point) was that it looks at synonyms by the default, not at arbitrary annotation properties.. But I will rename it.
This is fixed in pdbl
.
Center has multiple values (x,y, co-ords). These are correctly represented as a list.
For synonyms and definitions, I thought we’d agreed that all values should be JSON, whether or not the axioms are annotated. Looks like, for synonyms at least, only those with annotations are represented as JSON, e.g.:
The current solution is hard to process: have to check wether string is valid JSON before deciding whether to process.
IIRC - the APs for which axion annotations & values should be represented in JSON are specified here:
https://github.com/VirtualFlyBrain/vfb-prod/blob/master/neo4j2owl-config.yaml#L9
It strikes me that we chose a rather obscure name for this config
obo_assumption_overwrite_defaults:
I don't think there's anything particularly OBO-ish about this.
How about
represent_values_and_annotations_as_json
?(Fixing is high priority as this is a requirement for producing valid VFB_json for geppetto.)