On 30/06/2021 10:13, Sebastian Trueg wrote:
Hi everyone,
is the default memory model (ModelFactory.createDefaultModel())
restricted when it comes to SPARQL?
No.
In my example I am using a property path which works perfectly once the
data has been stored in Fuseki but yields no results in memory using
something along these lines:
Model model = ModelFactory.createDefaultModel();
// add a bunch of data to model
query = "select * where { ?e x:something/x:foo/x:bar ?d }";
QueryExecution qe = QueryExecutionFactory.create(query, model);
No named graphs.
When you give it just a model, ARQ wraps a simple dataset around it to
execute - the wrapper has no named graphs.
qe.execSelect();
The result is empty as soon as the query is not trivial. So before I
continue debugging I would like to know if the memory model has
limitations.
Andy
Regards,
Sebastian