Re: jena-fuseki UI in podman execution (2nd effort without attachments)

2024-02-10 Thread Andrii Berezovskyi
A bit unrelated, but I could also recommend secoresearch/fuseki image, which is maintained by Jouni Tuominen and is currently at Jena 4.10.0 & JDK 21.0.2. –Andrew. On 9 Feb 2024, at 12:37, Andy Seaborne wrote: Hi Jaana, Glad you got it sorted out. The Fuseki UI does not do anything special

Re: RSIterator deprecation

2023-08-21 Thread Andrii Berezovskyi
On 16 Aug 2023, at 18:18, Andrii Berezovskyi wrote: Thanks Andy, On 15 Aug 2023, at 10:12, Andy Seaborne wrote: That's quite a long method! Yes, not proudest part of Lyo. To my shame, I was reluctant to refactor it since I took over the project. Looks like you are providing us with a neces

Re: RSIterator deprecation

2023-08-16 Thread Andrii Berezovskyi
Thanks Andy, > On 15 Aug 2023, at 10:12, Andy Seaborne wrote: > > That's quite a long method! Yes, not proudest part of Lyo. To my shame, I was reluctant to refactor it since I took over the project. Looks like you are providing us with a necessary push. > What is reification used for in

RSIterator deprecation

2023-08-14 Thread Andrii Berezovskyi
Hello, I just noticed that .listReifiedStatements() ReifiedStatement, and RSIterator, which we use [1], have been deprecated in Jena. We looked though the javadocs and on the mailing list and didn't find any discussion of the migration guidance. [2] still mentions RSIterator and

Re: rdfpatch.bat help

2023-07-08 Thread Andrii Berezovskyi
for me. That is why also I would much like to use rdfpatch tool for the Skolemisation task. From what I understand, blabel [1] looks like my last resort for now. 8 июля 2023, 19:44:56, от "Andrii Berezovskyi" : Hello Larysa, I don’t think the rdfpatch tool is good fit for thi

Re: rdfpatch.bat help

2023-07-08 Thread Andrii Berezovskyi
Hello Larysa, I don’t think the rdfpatch tool is good fit for this, it’s designed for a different purpose. The tool itself expects to receive a patch file (which is not a regular RDF file), at which point the skolemization should already be done: $ rdfpatch turtletest.ttl

Re: Does Fuseki Support Manual Creation of Transactions?

2023-07-01 Thread Andrii Berezovskyi
Hello Brandon, Last time I checked, this was not possible in Jena or standard SPARQL (Update) 1.1. RDF4J has such an extension: https://rdf4j.org/documentation/reference/rest-api/#tag/Transactions In SPARQL 1.1, the suggested approach is to combine multiple SPARQL (only update) queries into

Re: Java versions?

2022-05-15 Thread Andrii Berezovskyi
Steve, JRE for the Eclipse IDE has very little to do with the JDK you use for development (the IDE JRE gets used for Maven deps resolution though, IIRC). You can run Eclipse with JDK 17 LTS as a JRE, while using JDK 11 LTS for your projects (see under Preferences > Java > Installed JREs). In

Re: Apache Jena - 10 years as an Apache Project.

2022-04-19 Thread Andrii Berezovskyi
Dear Andy, >From myself and on behalf of the Eclipse Lyo project that relies on Jena, >thank you and all the contributors for a wonderful project and the sheer >amount of effort you put into it! /Andrew On 2022-04-18, at 18:39, Andy Seaborne mailto:a...@apache.org>> wrote: Today is the 10th

Re: Loading Wikidata

2022-02-18 Thread Andrii Berezovskyi
I see, thanks. Are you sure 9.3.0 is not the version of GCC but Ubuntu? > On 18 Feb 2022, at 10:46, Neubert, Joachim wrote: > > I used cat /proc/version > >> -Ursprüngliche Nachricht----- >> Von: Andrii Berezovskyi >> Gesendet: Freitag, 18. Februar 2022 10:3

Re: Loading Wikidata

2022-02-18 Thread Andrii Berezovskyi
May I ask an unrelated question: how do you get Ubuntu version in such a format? 'cat /etc/os-release' (or lsb_release, hostnamectl, neofetch) only gives me the '20.04.3' format or Focal. On 2022-02-18, 10:17, "Neubert, Joachim" wrote: OS is Centos 7.9 in a docker container running on

Re: Disabling BNode UID generation

2022-02-09 Thread Andrii Berezovskyi
Ryan, Here is an example of how we use it in JUnit: https://github.com/eclipse/lyo/blob/aa3b18e4f28f3960d3a86a0b54151dccec2f139f/core/oslc4j-jena-provider/src/test/java/org/eclipse/lyo/oslc4j/provider/jena/JenaModelHelperTest.java#L64 And here is an AssertJ helper we wrote:

Query performance with an ORDER BY

2022-02-09 Thread Andrii Berezovskyi
Hello, We need to do paging in our app and as we don’t have a single property on which we can do a WHERE cutoff, we use an OFFSET/LIMIT. The OFFSET works fairly fast on the small values, however when we add an ORDER BY clause (as per SPARQL 1.1 spec as OFFSET is not guaranteed to make sense

Re: How much can RDF graph scale

2021-12-20 Thread Andrii Berezovskyi
https://www.w3.org/wiki/LargeTripleStores And in production, Wikidata has scaled to 13B+ triples so far using Blazegraph that is public to the world: https://scholia.toolforge.org/statistics Sadly, http://sparqles.ai.wu.ac.at/ is down but it had a list of smaller endpoints you could check for

Re: fuseki and tomcat 10

2021-12-20 Thread Andrii Berezovskyi
Hello Pietro, I am sorry for asking, but before going further: why are you running Tomcat 10, especially on Ubuntu 18.04? Ubuntu 18.04 and 20.04 seem to only support Tomcat 9 officially: https://packages.ubuntu.com/search?suite=default=all=any=tomcat=names. I think (official) Tomcat 10

Re: Convert JSON to RDF with Jena

2021-12-20 Thread Andrii Berezovskyi
Hello, See https://rml.io/docs/rml/tutorials/json/. Not a direct method though. /Andrew On 2021-12-20, at 12:29, emri mbiemri mailto:emrimbiemri8...@gmail.com>> wrote: Hello all, I would like to ask if there is any method to directly convert the below JSON file to an RDF graph? If so then

Re: [ANN] Apache Jena 4.3.1

2021-12-17 Thread Andrii Berezovskyi
Hello Andy, I hate to be the bearer of bad news, but in a recent discussion on Lobsters [1] it was brought to my attention that there apparently exists a bypass [2] of the fix in 2.15.0 that brings back the RCE. To be clear, the new exploit no longer requires fiddling with the Thread Context

Re: OpenJdk, AdoptOpenJDK

2021-12-16 Thread Andrii Berezovskyi
Hi, I am running 4.3.1 on OpenJDK 11 from Ubuntu 20.04 LTS repositories without any problems so far: https://packages.ubuntu.com/focal/openjdk-11-jdk Cheers, Andrew On 2021-12-16, 13:14, "robert.ba...@tiscali.it" wrote: Hi, I would like to upgrade to the OpenJdk version of Java.

Re: Log4j2 class loading problems when deploying Fuseki under Tomcat9

2021-12-14 Thread Andrii Berezovskyi
And my apologies again, I was reading on the phone and didn't see the second half of Andy's reply. Thank you for a great summary! /Andrew On 2021-12-14, at 17:06, Andrii Berezovskyi mailto:andr...@kth.se>> wrote: Just to correct myself, there is no other CVE in log4j. The new log4j r

Re: Log4j2 class loading problems when deploying Fuseki under Tomcat9

2021-12-14 Thread Andrii Berezovskyi
Subject: Re: Log4j2 class loading problems when deploying Fuseki under Tomcat9 On 14/12/2021 14:35, Andrii Berezovskyi wrote: > Hello Andy, > > Thank you so much, this indeed helped, I am now happily running Fuseki 4.3.1 > under Tomcat 9. I used the 2.16.0 versions of the log

Re: Log4j2 class loading problems when deploying Fuseki under Tomcat9

2021-12-14 Thread Andrii Berezovskyi
le is getting big because it has two copies of Fuseki in it. Andy On 14/12/2021 11:40, Andrii Berezovskyi wrote: > Hello, > > I decided to upgrade our Fuseki 3.17.0 running on Tomcat 9 to the latest version released yesterday (thank you, Andy, for you

Log4j2 class loading problems when deploying Fuseki under Tomcat9

2021-12-14 Thread Andrii Berezovskyi
Hello, I decided to upgrade our Fuseki 3.17.0 running on Tomcat 9 to the latest version released yesterday (thank you, Andy, for your hard work and a late night release!). I ran into the “java.lang.NoClassDefFoundError: org/apache/logging/log4j/Logger” exception. The closest issue I found was

Re: Java-Question: getGraph() to RDF/XML representation

2021-03-15 Thread Andrii Berezovskyi
Hello Max, See https://jena.apache.org/documentation/javadoc/arq/org/apache/jena/riot/RDFDataMgr.html#write-java.io.OutputStream-org.apache.jena.sparql.core.DatasetGraph-org.apache.jena.riot.Lang- family of methods. Here is my regular snippet for pretty-printing a Model in Turtle, but you can

Re: Java 8 or 11?

2021-01-12 Thread Andrii Berezovskyi
>> wrote: Hi Andrii, On 11/01/2021 12:59, Andrii Berezovskyi wrote: Hello, Just noticed that the discussion went really fast. The discussion started on the dev@jena list. It isn't a done deal - no release yet. I am a maintainer for Eclipse Lyo and as an integration SDK, we ship JDK 8 l

Re: Java 8 or 11?

2021-01-11 Thread Andrii Berezovskyi
Hello, Just noticed that the discussion went really fast. I am a maintainer for Eclipse Lyo and as an integration SDK, we ship JDK 8 library builds for wide compat (with Jena dependency). Our GH Actions build matrix succeeds on JDK 8, 11, 15, 16-ea, and 17-ea but this change will be breaking

Re: Attaching a ModelChangedListener to the deductionsModel

2019-06-13 Thread Andrii Berezovskyi
Nouwt, B. (Barry)" mailto:barry.no...@tno.nl.INVALID>> wrote: Hi Andrew, I asked a similar question before and got a satisfying answer: https://jena.markmail.org/thread/kn2tjj5jswmtqk4p Regards, Barry -Original Message----- From: Andrii Berezovskyi Sent: dinsdag 11 juni 2019

Attaching a ModelChangedListener to the deductionsModel

2019-06-11 Thread Andrii Berezovskyi
Hello, I would like to detect newly added/retracted inferences anytime triples are inserted/removed in the raw model. I tried to create an 'InfModel' backed by an RDFS reasoner and to attach a ModelChangesListener to its 'deductionsModel'. However, only changes to the 'rawModel' are registered

Re: CSV to rdf

2019-02-18 Thread Andrii Berezovskyi
Alex, Strictly speaking it's not. R2RML, RML's predecessor, however, is indeed a W3C recommendation. And just to be clear, RML is great! /Andrew > On 2019-02-18 , at 16:25, Alex To wrote: > > I'm surprised that no one mentioned RML (http://rml.io/) which is a W3C > standard and the Java

Re: Security and Fuseki

2018-11-22 Thread Andrii Berezovskyi
Hello Andy, This is excellent news! Thank you and Mulesoft for supporting this! I will try out the graph-level access control and will let you know of our use case if it fits well. -- /Andrew On 2018-11-22 , at 15:59, Andy Seaborne mailto:a...@apache.org>> wrote: Greetings, Fuseki is