Skip to content

Commit

Permalink
Merge f7ed3d9 into b6249b9
Browse files Browse the repository at this point in the history
  • Loading branch information
nunofreitas96 committed Feb 6, 2021
2 parents b6249b9 + f7ed3d9 commit 0a8f145
Show file tree
Hide file tree
Showing 6 changed files with 3 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,7 @@ public Query getUuid(String uuid){
public Query getIDd(String uuid){
return QueryFactory.create("SELECT ?description\n" +
"WHERE {\n" +
"?description <http://erlangen-crm.org/200717/has_uuid> "+ uuid +"\n" +
"}");
"?description <http://erlangen-crm.org/200717/has_uuid> \""+ uuid + "\" }");
}


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ public ResponseClass document(@RequestParam(value = "id", defaultValue = "") Str
return rep;
}

@GetMapping("/search")
public ResponseClass documentSummary(@RequestParam(value = "id", defaultValue = "") String refcode) {
@GetMapping("/searchdoc")
public ResponseClass documentSummary(@RequestParam(value = "refcode", defaultValue = "") String refcode) {
Connection conn = new Connection();
HashMap<String,Object> list0 = new HashMap<>() ;
ResponseClass uuidrep = new ResponseClass(list0);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ public ResponseClass obtainGeneralResponse(Query query,String key,ResponseClass
map.put(current,res.toString());

}
map.put("type","string");
r.addContent(key,map);
return r;
}
Expand All @@ -58,7 +57,6 @@ public ResponseClass obtainGeneralResponse(Query query,String key,ResponseClass
map.put(current, res.toString());

}
map.put("type","string");
complexList.add(map);
i++;
}
Expand Down
Binary file modified new_project/backend/JenaTest/target/classes/queries/Queries.class
Binary file not shown.
Binary file not shown.
Binary file not shown.

0 comments on commit 0a8f145

Please sign in to comment.