Hi,
I would like to access a default graph from a java application
that is stored in a dataset inside Jena TDB from a remote machine and
then use the model in the application. It seems that the only way is to
use Joseki or Fuseki and make a SPARQL query using the
QueryExecutionFactory class
QueryExecution qexec = QueryExecutionFactory.sparqlService(service, query);
but how can I get the model of the default graph from qexec ?
Btw with arq2.8.8 the query seems to be sent malformed to Fuseki. My app sends
"SELECT * WHERE { ?s ?p ?o }"
and Fuseki gets
INFO
[qtp14696971-15] (SPARQL_ServletBase.java:117) - [1] GET
http://localhost:3030/datadir?query=SELECT++*%0AWHERE%0A++%7B+%3Fs+%3Fp+%3Fo+%7D%0A
INFO [qtp14696971-15] (SPARQL_ServletBase.java:154) - [1] 400 Neither ?default
and ?graph in request
Thanks
Luigi