diff --git a/README.md b/README.md index 02ae18b..6b97ade 100644 --- a/README.md +++ b/README.md @@ -53,14 +53,14 @@ insert ; "SESSIONJONATHAN". - "GRAPH1"; - "http://mu.semte.ch/application"; - "hive"; -a . - "PERSONALGRAPH1"; - "http://langens.jonathan/Personal-Graph-1"; - "personal"; -a . + mu:uuid "GRAPH1"; +foaf:name "http://mu.semte.ch/application"; +graphs:graphType "hive"; +a graphs:Graph. + mu:uuid "PERSONALGRAPH1"; +foaf:name "http://langens.jonathan/Personal-Graph-1"; +graphs:graphType "personal"; +a graphs:Graph. } ``` diff --git a/src/main/java/scopes_service/query_pre_processor/web/RootController.java b/src/main/java/scopes_service/query_pre_processor/web/RootController.java index 3b4c5ee..0d92b2d 100644 --- a/src/main/java/scopes_service/query_pre_processor/web/RootController.java +++ b/src/main/java/scopes_service/query_pre_processor/web/RootController.java @@ -379,8 +379,11 @@ private String getUserUUIDFromSession(String sessionID) "?user-uri ?user-uuid .\n" + "}"; + System.out.println(getuseruuid); + try { String jsonString = this.queryService.sparqlService.getSPARQLResponse(this.localSPARQLURL + "?query=" + URLEncoder.encode(getuseruuid, "UTF-8")); + System.out.println(jsonString); ObjectMapper mapper = new ObjectMapper(); Map jsonMap = mapper.readValue(jsonString, Map.class); Map nodeMap = new HashMap(); diff --git a/target/SCOPES-ENDPOINT-1.0-SNAPSHOT.war b/target/SCOPES-ENDPOINT-1.0-SNAPSHOT.war index 3eac115..c264d73 100644 Binary files a/target/SCOPES-ENDPOINT-1.0-SNAPSHOT.war and b/target/SCOPES-ENDPOINT-1.0-SNAPSHOT.war differ