Re: Java 21 support for Jena Fuseki 5.0.0

2024-04-24 Thread Rob @ DNR
Java versions are generally forwards compatible, so Fuseki should run fine on Java 21, unless any of our dependencies have some previously unreported issues with Java 21 If you do find any bugs then please file bugs as appropriate Thanks, Rob From: Balduin Landolt Date: Wednesday, 24 April 2

Re: Requesting advice on Fuseki memory settings

2024-03-21 Thread Rob @ DNR
Gaspar This probably relates to https://access.redhat.com/solutions/2316 Deleting a file removes it from the file table but doesn’t immediately free the space if a process is still accessing those files. That could be something else inside the container, or in a containerised environment where

Re: [EXTERNAL] Re: Query Performance Degrade With Sorting In Subquery

2024-03-19 Thread Rob @ DNR
@jena.apache.org , Andy Seaborne , dcchabg...@gmail.com Subject: Re: [EXTERNAL] Re: Query Performance Degrade With Sorting In Subquery Is there any way to create an index or something? On Tue, Mar 19, 2024 at 3:46 PM Rob @ DNR wrote: > This is due to Jena’s lazy evaluation in its query eng

Re: Query Performance Degrade With Sorting In Subquery

2024-03-19 Thread Rob @ DNR
This is due to Jena’s lazy evaluation in its query engine. When you include a LIMIT clause on its own Jena only needs find the first N results (10 in your example) at which point it can abort any further processing and return results. In this case evaluation is lazy. When you include LIMIT and

Re: Problems when querying the SPARQL with Jena

2024-03-11 Thread Rob @ DNR
This looks like some system wide initialisation isn’t happening correctly in your runtime environment. You can first try adding a JenaSystem.init() call as the first line in your main() method Also, if you are building a fat/uber JAR via your build toolchain please be aware that Jena uses Serv

Re: jena-fuseki UI in podman execution

2024-02-08 Thread Rob @ DNR
Hi This list does not permit attachments so we can’t see your screenshots, can you upload them to some public image hosting somewhere and link to them? Thanks, Rob From: jaa...@kolumbus.fi Date: Thursday, 8 February 2024 at 08:48 To: users@jena.apache.org Subject: jena-fuseki UI in podman ex

Re: question about FROM keyword

2024-02-05 Thread Rob @ DNR
So, there’s a couple of things happening here. Firstly, Jena’s SPARQL engine always treats FROM (and FROM NAMED) as referring to graphs in the local dataset. So, it doesn’t matter that the URL in your FROM is a valid RDF resource on the web, Jena won’t try and load that by default, it just loo

Re: Problem running AtomGraph/fuseki-docker

2023-12-08 Thread Rob @ DNR
Re: command prompt closure That’s standard Docker behaviour. Unless you tell it otherwise it runs your container in the foreground attached to your terminal. Also, you’ve specified --rm which tells Docker to remove the container as soon as it exits, if you want to inspect logs after the conta

Re: Query features info

2023-09-21 Thread Rob @ DNR
Hashim I think what you want is probably --optimize=off and that should yield you the expected two BGPs e.g. arq --optimize=off --query exampleQuery.sparql --explain 09:43:57 INFO exec:: ALGEBRA (slice _ 100 (distinct (project (?name ?birth ?death) (filter

Re: Jena hangs on deleted files

2023-09-12 Thread Rob @ DNR
Well, yes, there shouldn’t be, but that wasn’t what Andy suggested/asked. Have you verified that nothing else is holding references to those files in any way e.g. lsof | grep /path/to/your/db And checked that only a single Java process is listed in the output? We don’t know your deployment env

Re: Mystery memory leak in fuseki

2023-09-01 Thread Rob @ DNR
Yes and No The embedded server mode of operation for Fuseki is dependent on Jetty. But the real core of Fuseki is actually just plain Java Servlets and Filter’s and Fuseki’s own dynamic dispatch code. FWIW I am also a big fan of JAX-RS but moving to JAX-RS would probably be a much more substa

Re: riot cmd convert RDF to JSON-LD framing

2023-08-14 Thread Rob @ DNR
Riot, and more generally Jena’s, configuration symbols are actually URIs internally, so the --set option needs to receive the full URI for the symbol, which I think should start with http://jena.apache.org/riot/jsonld#, not just the Java constant names as they appear in the examples/API. Also,

Re: Mystery memory leak in fuseki

2023-07-11 Thread Rob @ DNR
Dave Thanks for the further information. Have you experimented with using Jetty 10 but providing more detailed configuration? Fuseki supports providing detailed Jetty configuration if needed via the --jetty-config option The following section look relevant: https://eclipse.dev/jetty/document

Re: Mystery memory leak in fuseki

2023-07-10 Thread Rob @ DNR
Dave Poked around a bit today but not sure I’ve reproduced anything as such or found any smoking guns I ran a Fuseki instance with the same watch command you showed in your last message. JVM Heap stays essentially static even after hours, there’s some minor fluctuation up and down in used hea

Re: OOM Killed

2023-07-10 Thread Rob @ DNR
While we appreciate that this unresolved memory issue is painful for users, I would strongly emphasise that the project DOES NOT recommend people use outdated versions of Jena. 3.17.0 released in November 2020 which makes it 2.5 years old at this point. There have been lots of security, perform

Re: Mystery memory leak in fuseki

2023-07-04 Thread Rob @ DNR
Does this only happen in a container? Or can you reproduce it running locally as well? If you can reproduce it locally then attaching a profiler like VisualVM so you can take a heap snapshot and see where the memory is going that would be useful Rob From: Dave Reynolds Date: Tuesday, 4 July

Re: Need suggestions on handling latency on asyncparser

2023-06-27 Thread Rob @ DNR
Can you characterise what you mean by latency here? i.e. are you talking about a measurable delay or something else? Your code sample looks incomplete because you get the iterator BUT you never consume the iterator. If you don’t consume the iterator then you aren’t ever going to get any data

Re: Confirming on usage of andrewoma dexx collection from Jena-base

2023-06-27 Thread Rob @ DNR
Are you concerned by the com.github part of the coordinates? This is standard practise for open source projects that are hosted on GitHub, and is documented in the official Maven Central Guidelines on Coordinates at https://central.sonatype.org/publish/requirements/coordinates/#introduction Rob

Re: CVE-2023-22665 Risk using Fuseki Pre 4.8.0

2023-06-01 Thread Rob @ DNR
Yes, prior to 4.8.0 users can craft a query that calls arbitrary JavaScript functions even if you have not explicitly configured custom scripts. As discussed on our Security Advisories page [1] the projects advice is always to use the latest version available. Or as already noted in this thread

Re: Binary literals

2023-05-04 Thread Rob @ DNR
Features standard, then again, I see little value in KML and other existing, allowed, formats too! Cheers, Nick --- Original Message --- On Thursday, May 4th, 2023 at 18:30, Rob @ DNR wrote: > Well, the RDF specifications fundamentally define RDF literals to be the > following: &

Re: Binary literals

2023-05-04 Thread Rob @ DNR
Well, the RDF specifications fundamentally define RDF literals to be the following: * a lexical form, being a Unicode [UNICODE] string, which should be in Normal Form C [NFC], https://www.w3.or

Re: Strategies to avoid log flooding

2023-03-29 Thread Rob @ DNR
ool.java:1038) ~[fuseki-server.jar:4.6.1] Mar 27 13:13:33 insight-terms java[2512289]: #011at java.lang.Thread.run(Thread.java:829) ~[?:?] apps-fileview.texmex_20230316.01_p2 On 28/03/2023 16.04, Rob @ DNR wrote: > A GitHub issue with a minimal example query that reproduces the issue would >

Re: Strategies to avoid log flooding

2023-03-28 Thread Rob @ DNR
A GitHub issue with a minimal example query that reproduces the issue would be a good start so we can reproduce the issue and look into a fix In workaround terms end users control their logging configuration so you could create a Log4j configuration that disables logging for the specific offendi

Re: from a named graph in a federated query

2023-02-03 Thread Rob @ DNR
The SERVICE clause can include any clauses you can use elsewhere in the query. You can use a GRAPH clause inside your SERVICE clause i.e. SERVICE { GRAPH ?g { ?protein biolink:provided_by ?soft . } } If t

Re: Why does the OSPG.dat file grows so much more than all other files?

2023-02-01 Thread Rob @ DNR
Speculating heavily here: Each index is sorted relative to its keys, which as already noted earlier in the thread are a sequence of 8-byte Node IDs. If the update patterns for this dataset primarily involve changing the objects of the quads then that could lead to much more frequent rebalancin