From 9864ec669812f5f96ead1ae7da537e8e65f102a8 Mon Sep 17 00:00:00 2001 From: Andrew Berezovskyi Date: Sat, 23 Nov 2024 12:52:26 +0100 Subject: [PATCH] build: use RDF4J v5 --- trs/client/pom.xml | 2 +- .../main/java/org/eclipse/lyo/trs/client/util/SparqlUtil.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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); }