Open hartig opened 1 year ago
hi @hartig, thanks for letting us know about this and including an example.
This might be something coming in to the bioregistry from Prefix Commons. We can either fix this in the way the bioregistry loads the URI prefixes into the curies
data structure, or directly upstream in the curies
package. I'm at the Biocuration 2023 conference now but will try and address this by the end of the week.
To reproduce the issue run the following query on the SPARQL endpoint (https://bioregistry.io/sparql).
The result contains invalid IRIs such as
http://bacteria.ensembl.org/[?species_name]/Gene/Summary?g=ENSG00000006125
.I discovered this issue when trying to issue such queries from a program that is implemented based on the Jena library. In particular, when trying to print the result of this query, Jena throws the following exception.