From 4a4c3128443f3f84ebdd8b806cb6d4da1f5d85a9 Mon Sep 17 00:00:00 2001 From: knightmarehs Date: Sat, 26 Jan 2019 18:59:08 +0800 Subject: [PATCH] FIX the wrong port number --- src/jgsc/GstoreConnector.java | 2 +- src/qa/Globals.java | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/jgsc/GstoreConnector.java b/src/jgsc/GstoreConnector.java index 5b50c97..7470493 100644 --- a/src/jgsc/GstoreConnector.java +++ b/src/jgsc/GstoreConnector.java @@ -430,7 +430,7 @@ public class GstoreConnector { public static void main(String[] args) { // initialize the GStore server's IP address and port. - GstoreConnector gc = new GstoreConnector("172.31.222.90", 9001); + GstoreConnector gc = new GstoreConnector("dbpedia16.gstore-pku.com", 80); // build a new database by a RDF file. // note that the relative path is related to gserver. diff --git a/src/qa/Globals.java b/src/qa/Globals.java index dbca9bc..fd2a9b3 100644 --- a/src/qa/Globals.java +++ b/src/qa/Globals.java @@ -39,8 +39,8 @@ public class Globals { public static int evaluationMethod = 2; public static String localPath = "./././"; - public static String QueryEngineIP = "172.31.222.90"; // Notice, PORT number is in the evaluation function. - public static int QueryEnginePort = 9001; + public static String QueryEngineIP = "dbpedia16.gstore-pku.com"; // Notice, PORT number is in the evaluation function. + public static int QueryEnginePort = 80; public static void init () {