private Result parseResponseJSON(InputStream response) throws Exception {
try {
Result results = new Result();
int cont = 0;
JSONParser parser = new JSONParser(response);
JSONValue jsonObject = parser.nextValue();
if (jsonObject.isComplex()) {
JSONObject complex = (JSONObject) jsonObject;
JSONObject jsonResults = (JSONObject) complex.get("results");
JSONArray bindings = (JSONArray) jsonResults.get("bindings");