diff --git a/trs/client/pom.xml b/trs/client/pom.xml index c8d8b4ac..21b2e6f3 100644 --- a/trs/client/pom.xml +++ b/trs/client/pom.xml @@ -24,7 +24,7 @@ org.eclipse.rdf4j rdf4j-repository-sparql - 2.5.3 + 5.1.0 diff --git a/trs/client/trs-client/src/main/java/org/eclipse/lyo/trs/client/util/SparqlUtil.java b/trs/client/trs-client/src/main/java/org/eclipse/lyo/trs/client/util/SparqlUtil.java index 6018d99b..31c70836 100644 --- a/trs/client/trs-client/src/main/java/org/eclipse/lyo/trs/client/util/SparqlUtil.java +++ b/trs/client/trs-client/src/main/java/org/eclipse/lyo/trs/client/util/SparqlUtil.java @@ -398,7 +398,7 @@ static public void processQuery(String query, String serviceUrl) { static public void processQuery_sesame(String query, String serviceUrl, String user, String pwd) { SPARQLRepository repo = new SPARQLRepository(serviceUrl); repo.setUsernameAndPassword(user, pwd); - repo.initialize(); + repo.init(); RepositoryConnection rc = repo.getConnection(); processQuery_sesame(query, rc); }