public InputStreamHandle executeDescribe(SPARQLQueryDefinition qdef, InputStreamHandle handle) { return this.sparqlQueryManager.executeDescribe(qdef, handle, currentTransaction); }
String jsonResults = sparqlQmgr.executeDescribe(qdef, new StringHandle()).get(); JsonNode jsonNodes = sparqlQmgr.executeDescribe(qdef, jh).get(); JsonNode jsonNodeValue = jsonNodes.path("http://example.org/about").path("http://purl.org/dc/elements/1.1/title").get(0); Document xmlDoc = sparqlQmgr.executeDescribe(qdef, dh).get();
String jsonResults = sparqlQmgr.executeDescribe(qdef, new StringHandle(), t).get(); String jsonInvalidResults = sparqlQmgr.executeDescribe(qdefInvalid, new StringHandle(), t).get(); ObjectMapper mapper = new ObjectMapper(); SPARQLQueryDefinition qdefInvalid1 = sparqlQmgr.newQueryDefinition(sparqlInvalidQuery1.toString()); try { sparqlQmgr.executeDescribe(qdefInvalid1, new StringHandle(), t).get(); } catch (Exception e) { exception = e.toString();