This repository was archived by the owner on Apr 22, 2022. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
src/main/java/eu/geoknow/generator/users Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -461,11 +461,11 @@ public void removeAllSessionTokens(String username) throws Exception {
461461 */
462462 public UserProfile getUserProfile (String userId ) throws Exception {
463463 String query =
464- getPrefixes () + "\n " + "SELECT DISTINCT * FROM <" + frameworkConfig . getAccountsGraph ()
465- + "> " + "WHERE {" + " {?account foaf:accountName \" " + userId
466- + "\" . ?account ?p ?o . } " + " UNION " + " {?account foaf:mbox <mailto:" + userId
467- + "> . ?account ?p ?o . } " + " UNION " + " {?account ?p ?o . FILTER (?account = : "
468- + userId + ")} " + "}" ;
464+ getPrefixes () + "\n " + "SELECT DISTINCT * WHERE {GRAPH <"
465+ + frameworkConfig . getAccountsGraph () + "> {" + " {?account foaf:accountName \" "
466+ + userId + "\" . ?account ?p ?o . } " + " UNION " + " {?account foaf:mbox <mailto:"
467+ + userId + "> . ?account ?p ?o . } " + " UNION "
468+ + " {?account ?p ?o . FILTER (?account = <" + userId + "> )} " + "} }" ;
469469 log .debug (query );
470470
471471 String result = rdfStoreManager .execute (query , jsonResponseFormat );
You can’t perform that action at this time.
0 commit comments