org.apache.jena.sparql.resultset.ResultSetException: Not a string: key: value

Stack Overflow | stack_user | 5 months ago
  1. 0

    SPARQL Construct query not working on java

    Stack Overflow | 5 months ago | stack_user
    org.apache.jena.sparql.resultset.ResultSetException: Not a string: key: value

    Root Cause Analysis

    1. org.apache.jena.sparql.resultset.ResultSetException

      Not a string: key: value

      at org.apache.jena.sparql.resultset.JSONInput.stringOrNull()
    2. org.apache.jena
      QueryEngineHTTP.execSelect
      1. org.apache.jena.sparql.resultset.JSONInput.stringOrNull(JSONInput.java:230)
      2. org.apache.jena.sparql.resultset.JSONInput.parseOneTerm(JSONInput.java:201)
      3. org.apache.jena.sparql.resultset.JSONInput.parse(JSONInput.java:172)
      4. org.apache.jena.sparql.resultset.JSONInput.process(JSONInput.java:100)
      5. org.apache.jena.sparql.resultset.JSONInput.fromJSON(JSONInput.java:63)
      6. org.apache.jena.query.ResultSetFactory.fromJSON(ResultSetFactory.java:331)
      7. org.apache.jena.sparql.engine.http.QueryEngineHTTP.execResultSetInner(QueryEngineHTTP.java:385)
      8. org.apache.jena.sparql.engine.http.QueryEngineHTTP.execSelect(QueryEngineHTTP.java:351)
      8 frames