Hi Paul,
On 05/03/15 14:08, Paul Danckaert wrote:
but disabling that for testing did lead me to a new error:
org.openrdf.query.QueryEvaluationException: no result format
specified or unsupported result format
org.openrdf.repository.sparql.query.SPARQLTupleQuery.evaluate(SPARQLTupleQuery.java:59)
org.openrdf.query.algebra.evaluation.federation.SPARQLFederatedService.evaluate(SPARQLFederatedService.java:150)
org.openrdf.query.algebra.evaluation.impl.EvaluationStrategyImpl.evaluate(EvaluationStrategyImpl.java:332)
org.openrdf.query.algebra.evaluation.impl.EvaluationStrategyImpl.evaluate(EvaluationStrategyImpl.java:586)
Well, Marmotta currently does not support Federated Query, that's
probably the reason of the evaluation error.
More precisely, the current SPARQL 1.1 recommendations supported are:
* SPARQL 1.1 Query Language
* SPARQL 1.1 Update
* SPARQL 1.1 Service Description
* SPARQL 1.1 Query Results JSON Format
* SPARQL 1.1 Query Results CSV and TSV Formats
* SPARQL Query Results XML Format (Second Edition)
* SPARQL 1.1 Protocol
* SPARQL 1.1 Graph Store HTTP Protocol
This error is being sent back from Marmotta since it's not happy with
the lack of an output parameter.. or multiple accepts headers. I'm
not sure yet how the source query is being generated, but it does
look like the openrdf library is likely adding multiple accept
headers much like:
https://issues.apache.org/jira/browse/MARMOTTA-585
(In HttpClient.sendTupleQueryViaHttp as a reference)
So it looks like this is likely the source, and I'll go down this
path for the time being.
I'm not sure if both issues would be actually related... But if you
could go down and provide a patch for MARMOTTA-585 that would be great!
--
Sergio Fernández
Senior Researcher
Knowledge and Media Technologies
Salzburg Research Forschungsgesellschaft mbH
Jakob-Haringer-Straße 5/3 | 5020 Salzburg, Austria
T: +43 662 2288 318 | M: +43 660 2747 925
sergio.fernan...@salzburgresearch.at
http://www.salzburgresearch.at
--
Sergio Fernández
Partner Technology Manager
Redlink GmbH
m: +43 660 2747 925
e: sergio.fernan...@redlink.co
w: http://redlink.co