Hi.

It appears that the Virtuoso Sesame adapter doesn't use the variable bindings supplied to queries.

Here is an example :

TupleQuery query = conn.prepareTupleQuery(QueryLanguage.SPARQL, "select ?s ?p ?o where { ?s ?p ?o } limit 5");
    query.setBinding("p", RDFS.LABEL);

The effective SPARQL query should be something like "select ?s ?p ?o where { ?s ?p ?o. FILTER (?p == rdfs:label ) . } limit 5", but Virtuoso uses the raw query without the bindings.

Any chance to get a fix for this?

Br,
Timo Westkämper



Reply via email to