Open MaillPierre opened 7 months ago
Issue Description:
The server type return in the HTTP header of SPARQL query responses is not related to Corese
Steps to Reproduce:
test.ttl
query.rq
SELECT DISTINCT ?server ?serverGet { SERVICE <https://corese.inria.fr/sparql?mode=report> { { SELECT * { ?s ?p ?o } LIMIT 1 } } values (?_service_report_0 ){ (UNDEF ) } BIND( js:server() AS ?server) BIND( xt:get(?_service_report_0, "server") AS ?serverGet) }
java -jar corese-command-4.5.0.jar sparql -i test.ttl -q query.rq -o result.csv -of csv
Expected Behavior:
A result with a relation to Corese is expected, such as:
server,serverGet,_service_report_0 corese,corese/4.5.0,_j_4
Actual Behavior: The result obtained are related to the NGinx web server:
server,serverGet,_service_report_0 nginx,nginx/1.12.1,_j_4
Note to Developers:
The headers should probably be adapted depending on the response data type requested. text/html could still return NGinx, but any RDF-related type should indicate the type of SPARQL server.
Issue Description:
The server type return in the HTTP header of SPARQL query responses is not related to Corese
Steps to Reproduce:
test.ttl
"query.rq
" containing:java -jar corese-command-4.5.0.jar sparql -i test.ttl -q query.rq -o result.csv -of csv
Expected Behavior:
A result with a relation to Corese is expected, such as:
Actual Behavior: The result obtained are related to the NGinx web server:
Note to Developers:
The headers should probably be adapted depending on the response data type requested. text/html could still return NGinx, but any RDF-related type should indicate the type of SPARQL server.