Page MenuHomePhabricator

Allow federated queries with the NFDI4Culture Knowledge Graph
Closed, ResolvedPublic

Description

Could you please white list the following sparql endpoint:

https://nfdi4culture.de/sparql

This is a sparql endpoint used at nfdi4culture.de, an Oxigraph-based KG for research data maintained by the NFDI4Culture (National Research Data Infrastructure for Cultural Heritage) project based in Germany.

Event Timeline

Gehel triaged this task as Medium priority.Nov 3 2023, 10:27 AM

Change 994842 had a related patch set uploaded (by Ryan Kemper; author: Ryan Kemper):

[operations/puppet@production] wdqs: allow new federated endpoint

https://gerrit.wikimedia.org/r/994842

Change 994842 merged by Ryan Kemper:

[operations/puppet@production] wdqs: allow new federated endpoint

https://gerrit.wikimedia.org/r/994842

@Loz.ross Sorry for the delay, we've added the endpoint. Can you confirm it's working with an example query?

Hi @RKemper,

Thanks so much for working on this ticket! We tried a query with my colleagues, but we're getting an error:

Unknown error: Service URI https://nfdi4culture.de/sparql is not allowed

Perhaps you can check on your end if something is still blocking us? This is the query: https://w.wiki/96ES

@Loz.ross Yes the change to allowed endpoints did not get properly deployed; we've fixed that now. However there's another issue now that we've gotten past the Service URI not being allowed:

Unknown error: Could not identify format for service response: serviceURI=https://nfdi4culture.de/sparql, contentType=application/n-triples : response=

Based off T339347#9152553 I'm pretty sure that your endpoint needs to be able to produce application/sparql-results+xml in order to communicate properly with WDQS

@RKemper : could you add a curl example of the kind of queries we send and the response we expect?

RKemper closed this task as Resolved.EditedSat, Apr 27, 4:46 AM

Here's an example curl command we can use to verify when the service is properly supporting application/sparql-results+xml:

curl -k -XPOST -H"Accept:application/sparql-results+xml" --data-urlencode "query=select * { <iri1> <iri2> <iri3> } LIMIT 1" https://nfdi4culture.de/sparql

I'm marking this task as resolved until we hear back from OP; at that point the task can be reopened.