Open matentzn opened 7 months ago
This has always been the case for obo format conversion, and we do (2), fail hard unless strict mode is relaxed.
However, I think for the multilingual use case we might want a more general multilingual solution
We have a test case here:
I know this case is clearly not a use case for obographs-json, but the behaviour is super chaotic:
Example of an HPO class in the international edition
```This case may be anti-OBO from a philosophical standpoint, but its not really great that users of the obographs json file get a random mix of labels and definitions picked by the converter:
obographs version of the above
``` { "id" : "http://purl.obolibrary.org/obo/HP_0031973", "lbl" : "垂直杯盘比增加", "type" : "CLASS", "meta" : { "definition" : { "val" : "Optik sinir baş çukurunun yüksekliğinin disk yüksekliğine oranında anormal bir artış" }, "comments" : [ "Primary open angle glaucoma is causing a progressive optic neuropathy and its development is associated with loss of tissue in the neuroretinal rim of the optic disc and that will lead to increase in the size of the optic cup. Clinical estimation of the size of the cup using either the slit lamb or a simple imaging modalities such as fundus images is a significant clinical parameter and remains the simplest and most frequently performed assessment of the optic disc in the diagnosis and follows up the progression of the glaucoma suspect. The estimation of the size of the cup is usually made by comparison with the size of the disk and given as the ratio of the vertical and horizontal diameter of the cup to the vertical and horizontal diameter." ], "basicPropertyValues" : [ { "pred" : "http://purl.org/dc/elements/1.1/date", "val" : "2018-07-08T00:08:21Z" }, { "pred" : "http://purl.org/dc/terms/creator", "val" : "https://orcid.org/0000-0002-0736-9199" } ] } } ```As you can see, the converter randomly selected one of the 8 labels and combined it with one of the 3 definitions.
Here are some questions:
meta
instead oflbl
anddefinition
slots to reduce ambiguity?