Page MenuHomePhabricator

Allow federated queries with Bioontology SPARQL Endpoint
Closed, DeclinedPublic

Description

Bioontology is a repository of open biomedical ontologies including a variety of biomedical knowledge.
This database has its own SPARQL Endpoint at http://sparql.bioontology.org/.
Would it be possible to whitelist it from the Wikidata SPARQL endpoint?

Event Timeline

Nikki added subscribers: EBernhardson, Nikki.

@EBernhardson you did T319136 recently, perhaps you could do this one too?

@Nikki this sparql endpoint states:

Notice: This SPARQL endpoint is maintained by NCBO for demo purposes. It serves as playground to explore BioPortal's ontologies in RDF and we do not recommend its use for production applications or heavy batch processing. As an alternative, our virtual appliance is packaged with a SPARQL endpoint that can be used for local deployments.

So I'm not sure it'd be wise to add it to our whitelist?

@Nikki this sparql endpoint states:

Notice: This SPARQL endpoint is maintained by NCBO for demo purposes. It serves as playground to explore BioPortal's ontologies in RDF and we do not recommend its use for production applications or heavy batch processing. As an alternative, our virtual appliance is packaged with a SPARQL endpoint that can be used for local deployments.

So I'm not sure it'd be wise to add it to our whitelist?

This is not a problem. In general, federated queries request limited information about external endpoints. I need it because I need to see whether unsupported biomedical statements in Wikidata exist in one of the OBO Ontologies.

dcausse closed this task as Declined.EditedNov 3 2022, 6:40 PM

This sparql endpoints requires a csrfmiddlewaretoken parameter to work and I don't think we can configure blazegraph to provide it (and I have no clue how it is supposed to work nor from where it is obtained).
Without it the endpoint will produce errors: 403 FORBIDEN - Apikey not provided.
I'm tentatively declining this ticket as I don't see an easy way to integrate it in the system, please feel free to reopen if you find an endpoint that works without having to provide this csrfmiddlewaretoken.