Open cmungall opened 5 years ago
I think this translation between different forms of namespaces should be something that the beacon aggregator handles. The aggregator can hold each beacon's kmap in memory and use it to determine which beacons can handle which namespaces, and what format to use for those namespaces. When querying across all beacons for OMIM:138140
it should see that biothings-explorer only recognizes omim.gene
and automatically substitute omim.gene:138140
for OMIM:138140
. Similarly it can translate between PubMed
and PMID
, NCBIGene
and NCBIGENE
and so on, so that individual beacons needn't stick to any particular namespace convention.
works:
https://kba.ncats.io/beacon/biothings-explorer/concepts/OMIM.GENE%3A138140
but this doesn't:
https://kba.ncats.io/beacon/biothings-explorer/concepts/OMIM%3A138140
This is not an easy one to resolve, as we have an impedance mismatch with ID spaces here. We treat OMIM as one prefix, biothings breaks it down by type, which I think overloads prefix