mirror of https://github.com/percyliang/sempre
Bug fix
This commit is contained in:
parent
fc9e606bbe
commit
b8012ffdbc
|
|
@ -136,8 +136,8 @@ public class SparqlUtils {
|
|||
String url = String.format("%s?default-graph-uri=http://dbpedia.org&query=%s&format=xml",
|
||||
endpointUrl, URLEncoder.encode(formQuery(json,"en"), "UTF-8"));
|
||||
if(ConfigManager.DEBUG > 5) {
|
||||
LogInfo.logs("SPARQL query: " + formQuery(json));
|
||||
LogInfo.logs("Query: " + url);
|
||||
LogInfo.logs("SPARQL query: %s", formQuery(json));
|
||||
LogInfo.logs("Query: %s", url);
|
||||
}
|
||||
ServerResponse response = makeRequest(url);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue