beeldengeluid / comunica-web-client

A Web-based client to query the Web of Linked Data, using SPARQL or GraphQL-LD, powered by Comunica.
https://comunica-web-client.vercel.app/
0 stars 0 forks source link

BUG: Hitting the Execute Query key doesn't trigger a response #25

Closed wmelder closed 1 year ago

wmelder commented 1 year ago

@phivk @MartijnBNG

The public sparql endpoint UI doesn't return results when the 'Execute query' button is clicked. My VPN is disconnected but that should make a difference, because the SPARQL endpoint is public. I am afraid network maintenance has blocked the calls somehow.

wmelder commented 1 year ago

We cannot confirm that it is a bug. The problem state was reproduced, but strangely, while we were inspecting the endpoints, the status went from no results to working properly and providing resuls.

Martijn write postmen tests for both text/HTML and / to https://cat.apis.beeledngeluid.nl/sparql, so we can regularly monitor the URLs.

wmelder commented 1 year ago

The example request to test if the endpoint works is:

curl -X GET https://cat.apis.beeldengeluid.nl/sparql?query="PREFIX%20rdf%3A%20<http%3A%2F%2Fwww.w3.org%2F1999%2F02%2F22-rdf-syntax-ns%23>%0APREFIX%20rdfs%3A%20<http%3A%2F%2Fwww.w3.org%2F2000%2F01%2Frdf-schema%23>%0A%0ASELECT%20%3Fs%20%3Fp%20%3Fo%0AWHERE%20%7B%0A%20%20%3Fs%20%3Fp%20%3Fo%0A%7D%0ALIMIT%2010" -H "Accept: application/sparql-results+json"
wmelder commented 1 year ago

Martijn: Het kostte wat moeite om de urlencoding goed te krijgen in postman, maar de test draait! voortaan zal hij dit iedere nacht testen