I try to query a marklogic server (version 8) via their sparql endpoint and the sparqlrepository from rdf4j(2.1.4) but the marklogic endpoint seems to not accept these sparql queries.
Code example:
String sparqlEndpoint = "http://url/v1/graphs/sparql";
SPARQLRepository repo = new SPARQLRepository(sparqlEndpoint);
repo.initialize();
repo.getConnection().hasStatement(null, null, null, false);
This leads to the following error:
"errorResponse":{"statusCode":400, "status":"Bad Request", "messageCode":"REST-UNSUPPORTEDPARAM", "message":"REST-UNSUPPORTEDPARAM: (err:FOER0000) Endpoint does not support query parameter: invalid parameters: queryLn, infer for request"}}
Any suggestions?