Hi.

I am having troubles using CONSTRUCT queries with PreparedStatements.

e.g.

sparql define output:format '_JAVA_'
 CONSTRUCT { ?s ?p ?o }
WHERE
  { `iri(??)` ?p ?o }
LIMIT 1


throws

Caused by: virtuoso.jdbc4.VirtuosoException: Index 1 is not 1<n<0
    at virtuoso.jdbc4.VirtuosoPreparedStatement.setString(Unknown Source)
    at virtuoso.jdbc4.PreparedStatementWrapper.setString(Unknown Source)

when I try to bind the parameter. What did I do wrong?

Br,
Timo Westkämper


Reply via email to