SPARQL endpoint as a service
If [accept] header is RDF (or turtle or whatever), the query is just directed (proxied) to the [triple-store], SPARQL endpoint and executed.
Test
Using an HTTP client GUI, for example POSTMAN or CURL:
If using GET http method
Url: https://id.euskadi.eus/sparql?query=DESCRIBE <https://opendata.euskadi.eus/catalogo/-/aquariums-de-euskadi/>Method: GETAccept header: Accept=rdfCURL: curl -X GET 'https://id.euskadi.eus/sparql?query=DESCRIBE <https://opendata.euskadi.eus/catalogo/-/aquariums-de-euskadi/>' \-H 'accept: application/rdf+xml'Result: an RDF representation of the query result.
If using POST http method
Url: https://id.euskadi.eus/sparql?query=DESCRIBE <https://opendata.euskadi.eus/catalogo/-/aquariums-de-euskadi/>Method: POSTAccept header: Accept=rdfBody: form url encodedquery=DESCRIBE <https://opendata.euskadi.eus/catalogo/-/aquariums-de-euskadi/>CURL: curl -X POST https://id.euskadi.eus/sparql \-H 'accept: application/rdf+xml' \-H 'content-type: application/x-www-form-urlencoded' \-d query=DESCRIBE <https://opendata.euskadi.eus/catalogo/-/aquariums-de-euskadi/>Result: an RDF representation of the query result.