我尝试通过他们的 sparql 端点和来自 rdf4j(2.1.4) 的 sparqlrepository 查询 marklogic 服务器(版本 8),但 marklogic 端点似乎不接受这些 sparql 查询。
代码示例:
String sparqlEndpoint = "http://url/v1/graphs/sparql";
SPARQLRepository repo = new SPARQLRepository(sparqlEndpoint);
repo.initialize();
repo.getConnection().hasStatement(null, null, null, false);
这会导致以下错误:
"errorResponse":{"statusCode":400, "status":"Bad Request", "messageCode":"REST-UNSUPPORTEDPARAM", "message":"REST-UNSUPPORTEDPARAM: (err:FOER0000) 端点不支持查询参数:无效参数:queryLn,推断请求“}}
有什么建议么?