From e75799269c0710a6e31de5c56eb5817c75ae46c5 Mon Sep 17 00:00:00 2001 From: lijing Date: Fri, 19 Jan 2018 15:38:58 +0800 Subject: [PATCH 1/2] add:multi_users&multi_databases --- path | 0 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 path diff --git a/path b/path new file mode 100644 index 0000000..e69de29 From a4ca55cbc971f9ac435695a9d451421b33b3d905 Mon Sep 17 00:00:00 2001 From: lijing Date: Fri, 19 Jan 2018 15:49:16 +0800 Subject: [PATCH 2/2] add:multi_users,multi_databases --- api/http/java/example/JavaAPIExample.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/api/http/java/example/JavaAPIExample.java b/api/http/java/example/JavaAPIExample.java index ac197e4..6be7d40 100644 --- a/api/http/java/example/JavaAPIExample.java +++ b/api/http/java/example/JavaAPIExample.java @@ -38,7 +38,7 @@ public class JavaAPIExample + "?z ?w. " + "?w . " + "}"; - String answer = gc.query(sparql, "lubm", "root", "123456"); + String answer = gc.query(sparql, "LUBM10", "root", "123456"); System.out.println(answer); // unload this database. @@ -55,7 +55,7 @@ public class JavaAPIExample //PERFORMANCE: if we use the query above(as comment), result will be very large and the time cost is large, too //The method to improve it is to receive a line and output/save to file at once, instead of combining all lines into a String //The related code is in api/http/java/src/jgsc/GstoreConnector.java - answer = gc.query(sparql, "lubm", "root", "123456"); + answer = gc.query(sparql, "LUBM10", "root", "123456"); System.out.println(answer); gc.unload("LUBM10", "root", "123456"); }