Skip to content

How to debug a federated query error? #1292

Answered by hannahbast
Danysan1 asked this question in Q&A
Discussion options

You must be logged in to vote

@Danysan1 Here are two curl commands querying the SPARQL endpoint at https://dati.cultura.gov.it/sparql with your query. The first one sends a GET request and works. The second one sends a POST request and the reply is empty. QLever always sends a POST request and according to the standard, a SPARQL endpoint must be able to handle POST requests. So the first step would be to point this out to the providers of the SPARQL endpoint.

curl -Gs https://dati.cultura.gov.it/sparql -H "Accept: text/tab-separated-values" --data-urlencode "query=PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX owl: <http://www.w3.org/2002/07/owl#> …

Replies: 3 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@Danysan1
Comment options

Answer selected by Danysan1
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants