Hi there,
I use Jena 4.2.0 and QueryBuilder to create SPARQL queries.

How to describe the following query snippet using QueryBuilder?

SELECT ?s ?p ?o
WHERE {
  << ?s ?p ?o >> ?predicate ?object
}

I tried the following expression but it results in an
IllegalArgumentException
*Subject (%s) must be a URI, blank, variable, or a wildcard.*

.addWhere(NodeFactory.createTripleNode(new Triple(s, p, o), predicate,
object))

Reply via email to