Re: Javadoc links are broken?

2021-12-28 Thread Andy Seaborne
:30, Andy Seaborne wrote: On 27/12/2021 12:56, Rinor Sefa wrote: I think I found the issue, https://bugs.openjdk.java.net/browse/JDK-8215291 Good find - it fits the description and the javadoc build was with Java11. So "--no-module-directories", and external links, causes the prob

Re: Javadoc links are broken?

2021-12-28 Thread Andy Seaborne
>= 12. May be back ported to Java11. And it might be as little as a one line fix to search.js !!! Andy -Original Message----- From: Andy Seaborne Sent: Monday, 27 December 2021 13:45 To: users@jena.apache.org Subject: Re: Javadoc links are broken? On 27/12/2021 12:02, Rinor Sefa wrote:

Re: Javadoc links are broken?

2021-12-27 Thread Andy Seaborne
at 4.3? (because AFAICS we didn't change any thing from 4.2). 4.x was the start of using java11 where the javadoc tools is quite different to the java8 one. Andy Happy holidays, Rinor Sefa -Original Message- From: Andy Seaborne Sent: Sunday, 26 December 2021 12:59 To: users

Re: Javadoc links are broken?

2021-12-26 Thread Andy Seaborne
On 25/12/2021 11:35, Martynas Jusevičius wrote: Hi, Happy holidays! Is it just me or most Javadoc links are broken? Or is it a Google indexing problem? The Apache Jena project is not responsible for Google indexing :-) For example:

Re: Missed inference in Jena Fuseki

2021-12-23 Thread Andy Seaborne
On 21/12/2021 17:56, Beaudet, David wrote: Hello, In 2020, there was a question to the list (see below) about inference and queries involving predicates that have an owl:inverseOf and I think I'm running into a similar issue with crm:P46_is_composed_of vs. crm:P46i_forms_part_of where the

Re: How much can RDF graph scale

2021-12-20 Thread Andy Seaborne
On 20/12/2021 13:37, emri mbiemri wrote: Dear all, I am using RDF graphs for persisting my domain information, I am interested to know if there is any study or experiment conducted so far that measures the scalability of an RDF graph? I want to know if I can say that my repository scales

Re: fuseki and tomcat 10

2021-12-20 Thread Andy Seaborne
https://tomcat.apache.org/migration-10.html """ There is a significant breaking change between Tomcat 9.0.x and Tomcat 10.0.x. The Java package used by the specification APIs has changed from javax... to jakarta It will be necessary to recompile web applications against the new APIs. """

Re: Read-only wrapper for Jena Model

2021-12-20 Thread Andy Seaborne
to imports? Won't it depend on the OntModelSpec and any inference? You could always have a read-only wrapper implementation of interface OntModel. Andy On Sat, Aug 28, 2021 at 3:43 PM Andy Seaborne wrote: On 27/08/2021 12:23, Zak Mc Kracken wrote: Hi all, I have a little RDF file

[ANN] Apache Jena 4.3.2

2021-12-19 Thread Andy Seaborne
The Apache Jena development community is pleased to announce the release of Apache Jena 4.3.2. This release updates the version of log4j2 used in Fuseki to version 2.16.0 of log4j2. Fuseki users should upgrade as soon as possible. Uses of Jena libraries should to check their application

Re: RDF-star delete Performance

2021-12-18 Thread Andy Seaborne
On 18/12/2021 16:58, Dragan Lesic wrote: Hello, I'm trying to update (delete+insert) some data which has also reification in it (order of cast members for a movie for example). When doing delete all triples for a subject that order data seems not to be deleted. For example i need to change

Re: Release 4.3.2 -- was:[ANN] Apache Jena 4.3.1

2021-12-18 Thread Andy Seaborne
k has registered a CVE (it's a remote code JNDI attack) but not from outside text. They have removed the "we're not affected text" from the home page. On 18/12/2021 00:04, Andy Seaborne wrote: Hi Andrew, Thank you for letting us know. Rob spotted that the log4j project security page h

Release 4.3.2 -- was:[ANN] Apache Jena 4.3.1

2021-12-17 Thread Andy Seaborne
Hi Andrew, Thank you for letting us know. Rob spotted that the log4j project security page has been updated: https://logging.apache.org/log4j/2.x/security.html revising it to critical 9/10 We've already started a vote on Jena 4.3.2 with log4j 2.16.0.

docker-file for jena-fuseki 4.3.1

2021-12-16 Thread Andy Seaborne
On 16/12/2021 05:34, jaa...@kolumbus.fi wrote: > Hi, > > found a docker-file for jena-fuseki 4.3.1 from > > https://repo1.maven.org/maven2/org/apache/jena/jena-fuseki-docker/4.3.1/ > > It is without UI. Would there be coming a Dockerfile with UI, too ? > > Br Jaana Yes. Sometime. WIP:

Re: OpenJdk, AdoptOpenJDK

2021-12-16 Thread Andy Seaborne
On 16/12/2021 12:13, robert.ba...@tiscali.it wrote: Hi, I would like to upgrade to the OpenJdk version of Java. I have always used the Oracle Java one on older versions of Jena. For Jena 4.3.1 there may be contraindications to using OpenJdk or AdoptOpenJDK? The project builds and tests

Re: [ANN] Apache Jena 4.3.1

2021-12-15 Thread Andy Seaborne
release, change the log4j version in the top POM. Build. Andy Best, Harri Kiiskinen On 15.12.2021 12.23, Andy Seaborne wrote: On 14/12/2021 20:51, Brandon Sara wrote: Should we expect another release (like version 4.3.2) given Log4J updating to 2.16.0 in response to this other CVE: https

Re: [ANN] Apache Jena 4.3.1

2021-12-15 Thread Andy Seaborne
On 14/12/2021 20:51, Brandon Sara wrote: Should we expect another release (like version 4.3.2) given Log4J updating to 2.16.0 in response to this other CVE: https://cve.mitre.org/cgi-bin/cvename.cgi?name=2021-45046? Going to the link to the log4j security page, the log4j team rates it as

Re: Log4j2 class loading problems when deploying Fuseki under Tomcat9

2021-12-14 Thread Andy Seaborne
Hi Andrew, It looks like a 4.1->4.2 change - that's where log4j-api, and log4j-core stop appearing in the war file. So not related the log4j chnages this release. I haven't found a change that caused this yet. I noticed they were optional while clearing up yesterday yet still getting into

Re: Information about Apache Jena and Log4j2 vulnerability.

2021-12-14 Thread Andy Seaborne
rg/maven2/org/apache/jena/jena-fuseki-docker/4.3.1/ Andy [*] https://lists.apache.org/thread/qpbfrdty7jt3yfm39hx4p9dp151sd6gm Br, Jaana Andy Seaborne kirjoitti 10.12.2021 16:55: This message is about the effect of CVE-2021-44228 (log4j2) on Fuseki. https://nvd.nist.gov/vuln/detail/CVE-202

[ANN] Apache Jena 4.3.1

2021-12-13 Thread Andy Seaborne
The Apache Jena development community is pleased to announce the release of Apache Jena 4.3.1. This release updates the version of log4j2 used in Fuseki. Fuseki users should upgrade as soon as possible. Uses of Jena libraries should to check their application logging dependences and update

Re: Log4Shell issue

2021-12-13 Thread Andy Seaborne
See email https://lists.apache.org/thread/nc3gz7yvokc9ktkzs8078jr5t04nfmdy and it includes ways to workaround it. up-to-date java Java 8u121 // Java 11.0.1 (stops any code injection) Set system property "-Dlog4j2.formatMsgNoLookups=true" (stops interpretation of malicious log messages)

Re: How to cite Jena?

2021-12-12 Thread Andy Seaborne
On 12/12/2021 06:19, Luis Enrique Ramos García wrote: Hi, I think this is the first paper of jena: https://dl.acm.org/doi/10.1145/1013367.1013381 there you can get the citation. Luis Ramos That only covers the API and it's implementation. (The SQL database mentioned is the "RDB"

Re: How to cite Jena?

2021-12-12 Thread Andy Seaborne
On 11/12/2021 14:35, Jakub Jałowiec wrote: Hi, is there any preferred way to cite Apache Jena in a publication, preferably in BibTeX? Best regards, Jakub Hi Jakub, thank you for asking. You've done the right thing already. The name of the project is "Apache Jena". The first use in a

Re: Information about Apache Jena and Log4j2 vulnerability.

2021-12-12 Thread Andy Seaborne
Please don't mix the focus of the thread. This thread is important information about the Apache Jena project. To be clear to the wider audience: RDF Delta is not under the governance of the Apache Jena PMC. Andy Obviously, the published mitigations work with the combined RDF

Re: Access control for federated queries

2021-12-10 Thread Andy Seaborne
On 10/12/2021 13:53, Mikael Pesonen wrote: Hi, is there a recommended way to handle access control for servers which are serving federated queries? So is it possible to configure which servers may access which graphs or datasets, for example? Yes. Allocate a "user id" to the servers,

Information about Apache Jena and Log4j2 vulnerability.

2021-12-10 Thread Andy Seaborne
This message is about the effect of CVE-2021-44228 (log4j2) on Fuseki. https://nvd.nist.gov/vuln/detail/CVE-2021-44228 Jena ships log4j2 in Fuseki and the command line tools. The vulnerability of log4j2 does impact Fuseki 3.15 - 3.17, and 4.x. Remote execution is only possible with older

Re: Query - Update

2021-12-10 Thread Andy Seaborne
Matt - thanks for the update Other ways to speed the query up are: * Use regex - I know you don't liek regex but the regex is compiled only once FILTER ( regex("lewes", ?county, "i") || regex("lewes", ?district, "i") || regex("lewes", ?parish, "i") ) * Use UNION: This

Re: Sparql Query

2021-12-09 Thread Andy Seaborne
; wrote: Even if it's not the strings leading to performance issues, using the Jena text index might be definitely more efficient On 08.12.21 10:38, Matt Whitby wrote: Fuseki. No inference. TDB2. M On Wed, 8 Dec 2021 at 09:25, Andy Seaborne wrote: Lots of questions! Details matter!! On 08/12/2

Re: Sparql Query

2021-12-09 Thread Andy Seaborne
Is the data available somewhere? On 08/12/2021 09:38, Matt Whitby wrote: Fuseki. No inference. TDB2. M On Wed, 8 Dec 2021 at 09:25, Andy Seaborne wrote: Lots of questions! Details matter!! On 08/12/2021 09:05, Matt Whitby wrote: It's hosted in a container in Azure. (Jena storage layer

[ANN] Apache Jena 4.3.0

2021-12-09 Thread Andy Seaborne
The Apache Jena development community is pleased to announce the release of Apache Jena 4.3.0. In this release: * java.net.http There is a change to use JDK java.net.http package for HTTP. This affects HTTP authentication. See notes below. * JENA-2125: Internal reorganisation of SPARQL

Re: Fuseki GUI 400 error on all queries

2021-12-09 Thread Andy Seaborne
On 09/12/2021 09:44, Mikael Pesonen wrote: I've got strange problem with one Fuseki setup. Web GUI is generating somehow incorrect queries resulting error 400. Endpoint in GUI is set to /fuseki/ds which works on other setups. Also sparql update works, error occurs only on all select etc

Re: Sparql Query

2021-12-08 Thread Andy Seaborne
? Andy On Wed, 8 Dec 2021 at 09:00, Andy Seaborne wrote: Hi Matt, That query does not look couple-of-minutes expensive. Could you run it removing parts to see what happens? e.g. Remove one OPTIONAL and it's associated part of the filter. Which storage layer are you using? Andy On 07/12

Re: Sparql Query

2021-12-08 Thread Andy Seaborne
Hi Matt, That query does not look couple-of-minutes expensive. Could you run it removing parts to see what happens? e.g. Remove one OPTIONAL and it's associated part of the filter. Which storage layer are you using? Andy On 07/12/2021 20:18, aj...@apache.org wrote: On Tue, Dec 7,

Re: Upload large datasets to fuseki

2021-12-06 Thread Andy Seaborne
we are all volunteers, we don't/can't schedule releases across the year but in this case, you've asked in the middle of one) Andy Il 06.12.2021 14:49 Andy Seaborne ha scritto: I guess the end of loading with your setup was very slow. Marco has mentioned xloader (which is an improved

Re: Upload large datasets to fuseki

2021-12-06 Thread Andy Seaborne
I guess the end of loading with your setup was very slow. Marco has mentioned xloader (which is an improved tdbloader2 that works on TDB2). If you can use a machine with more RAM, "tdb2.loader --loader=parallel" for 750m will be fastest but at some point the slow-and-steady xloader

Re: Error initializing geosparql

2021-12-05 Thread Andy Seaborne
On 05/12/2021 10:52, Jean-Marc Vanel wrote: After having fixed bad data in the TDB database (latitude is present but not longitude, coordinates as strings , see issue https://issues.apache.org/jira/browse/JENA-2202 ), there is an exception, probably related to the database content. Here is

Re: Parallel SELECT queries in Fuseki or Jena's CLI

2021-11-24 Thread Andy Seaborne
ter for that? 2. Can a single transaction be shared between multiple threads (cores)? 3. Do I need a transaction if the threads I am running are guaranteed to not modify anything? (the query is a SELECT so it is 'read-only') Best regards, Jakub n

Re: AW: Embedded Fuseki Cache

2021-11-23 Thread Andy Seaborne
On 23/11/2021 22:23, Andy Seaborne wrote: On 23/11/2021 19:54, Philipp Leeb wrote: Hey Rob, thank you for this information. Yes, i tracked times of respones and registered, that the first queries are always the slowest, which made me think there is some sort of caching. More likely

Re: AW: Embedded Fuseki Cache

2021-11-23 Thread Andy Seaborne
On 23/11/2021 19:54, Philipp Leeb wrote: Hey Rob, thank you for this information. Yes, i tracked times of respones and registered, that the first queries are always the slowest, which made me think there is some sort of caching. More likely it is (1) [TDB] The database getting loaded

Re: Setup properties for Jetty in Fuseki

2021-11-16 Thread Andy Seaborne
Another way to get HTTPS is using a reverse proxy in front of the server. Such reverse proxy setups are also good if the server is facing the public internet - they can defend (usually accidental) DOS traffic. On 16/11/2021 13:58, Vladimir Shestakov wrote: The Jetty configuration file for

Re: RDFConnection: divergence between documentation and API

2021-11-16 Thread Andy Seaborne
Sorry about that. The website has some updates to preferred style that relate to the unreleased 4.3.0. The 4.2.0 style stills works and it should be RDFConnectionFactory. 4.3.0 has builder pattern provided for RDFConnection, QueryExecution UpdateProcessor. Queries and updates have

Re: Setup properties for Jetty in Fuseki

2021-11-16 Thread Andy Seaborne
Hi Vladimir, The Jetty configuration file for the server has nothing Jena-specific about. Any advice (StackOverflow?!) applies. Setting up HTTPS is complicated. If you are able to, the "Fuseki Main" server has this packaged up in the --https arguments on the command line. (No UI at the

Re: Parallel SELECT queries in Fuseki or Jena's CLI

2021-11-06 Thread Andy Seaborne
? 3. Do I need a transaction if the threads I am running are guaranteed to not modify anything? (the query is a SELECT so it is 'read-only') Best regards, Jakub niedz., 31 paź 2021 o 11:29 Andy Seaborne mailto:a...@apache.org>> napisał(a): Hi Jakub,

Re: SPARQL search on xsd:dateTime producing unexpected behavior

2021-11-04 Thread Andy Seaborne
The OP has said on StackOverflow that the wrong data file was being used. Andy On 04/11/2021 08:30, Andy Seaborne wrote: David, > This produces the following result: > - > | f  | vv1

Re: SPARQL search on xsd:dateTime producing unexpected behavior

2021-11-04 Thread Andy Seaborne
David, > This produces the following result: > - > | f | vv1 | t1 | t | > = > | "NY635615" | || "2014-06-30 00:00:00" | > | "NY635615" | || "2014-06-10

Re: Describe strategy

2021-11-01 Thread Andy Seaborne
Hi Dragan, DESCRIBE is handled by DescribeHandler The DescribeHandlerRegistry gives a list of handler - they are all called for There is only one in the codebase, DescribeBNodeClosure, but an app can add/change handlers. The registry is global or is per-query execution with

Re: Parallel SELECT queries in Fuseki or Jena's CLI

2021-10-31 Thread Andy Seaborne
Hi Jakub, The preferred way to have parallel actions on a dataset is via transactions. concurrency-howto covers threading within a transaction. Possible with further MRSW (multiple reader or single writer) locking. This is how Fuseki executes multiple requests. Each HTTP request that is

Re: Fwd: RDF Star Slow performance

2021-10-29 Thread Andy Seaborne
On 29/10/2021 21:00, Dragan Lesic wrote: Hello, I'm trying to migrate an application with content from themoviedb.org and other sources. The dataset count in fuseki is about 55 million triples. To preserve order of connected data, reification is used, dsta insert with sparql rdf*. RDF* and

Re: Suggestions for OWL_MEM_MICRO_RULE_INF ConcurrentModificationException?

2021-10-29 Thread Andy Seaborne
Steve, Is your usage multithreaded? If so, you'll need to make sure that usage is mutlireaer or single writer. Using jena transaction mecahnism is best - they work with datasets and choose the best implementation for the datasets. For ones containing inference, that's MRSW locking.

Re: Fuseki endpoint url applying to Reconciliation API

2021-10-28 Thread Andy Seaborne
Fuseki itself support SPARQL protocols. It does not have the reconciliation functionality but it is possible to add functionality. Either put a server in front Fuseki that receives reconciliation-api and makes SPARQL calls to Fuseki. Or: add a custom service to a dataset in Fuseki so that

Re: need help with mvn build failure on unchanged download when build gets to TDB1

2021-10-27 Thread Andy Seaborne
Hi Tom, That got fixed today. The snapshot development builds include the fix. (It got broken 2 days ago) Andy On 27/10/2021 15:42, Tom G wrote: $ java --version openjdk 11.0.12 2021-07-20 OpenJDK Runtime Environment (build 11.0.12+7-post-Debian-2deb10u1) OpenJDK 64-Bit Server VM (build

Re: [3.16.0] Implementing ReaderRIOT

2021-10-26 Thread Andy Seaborne
On 26/10/2021 09:40, Martynas Jusevičius wrote: Hi, I'm implementing a Reader that extracts

Re: [3.17.0] java.lang.NoSuchFieldError: SHACLC

2021-10-25 Thread Andy Seaborne
it together and upgrade to 4.2.0. On Mon, Oct 25, 2021 at 3:57 PM Andy Seaborne wrote: Possibly because the app touched SHACLC directly or indirectly before JenaSystem.init. Where is JenaSystem.init triggerd from? try JenaSystem.DEBUG_INIT = true; before any Jena code. On 25/10/2021 12:26

Re: [3.17.0] java.lang.NoSuchFieldError: SHACLC

2021-10-25 Thread Andy Seaborne
Possibly because the app touched SHACLC directly or indirectly before JenaSystem.init. Where is JenaSystem.init triggerd from? try JenaSystem.DEBUG_INIT = true; before any Jena code. On 25/10/2021 12:26, Martynas Jusevičius wrote: Hi, Any suggestions as to why I'm getting this error after

Re: gziped stderrout.log not started anew

2021-10-19 Thread Andy Seaborne
Hi Joachim, When you say "stopped" do you the server is not running or only paused? The usual script sends output to a file that is created by the shell. If the server is paused, and continued, the file is still open but no longer accessible from the filesystem. If it exited and restarted,

Re: Possible bug when querying

2021-10-18 Thread Andy Seaborne
JDK 14.0.2: ``` java -version openjdk version "14.0.2" 2020-07-14 OpenJDK Runtime Environment (build 14.0.2+12-Ubuntu-120.04) OpenJDK 64-Bit Server VM (build 14.0.2+12-Ubuntu-120.04, mixed mode, sharing) ``` Best, Han On Thu, 2021-10-14 at 18:26 +0100, Andy Seaborne wrote: On 14/10/2021

Re: Possible bug when querying

2021-10-14 Thread Andy Seaborne
narrows ... but simply reversing the commit on the current development does not fix the problem. Best regards, Barry -Original Message- From: Andy Seaborne Sent: donderdag 14 oktober 2021 12:36 To: users@jena.apache.org Subject: Re: Possible bug when querying Hi Han, Could you confirm

Re: Possible bug when querying

2021-10-14 Thread Andy Seaborne
be merely the trigger for something that has been a latent problem for longer. On 12/10/2021 08:13, Kruiger, J.F. (Han) wrote: Thanks, Andy! On Mon, 2021-10-11 at 22:15 +0100, Andy Seaborne wrote: Hi Han, Yes, it appears to be a bug. I can recreate it although I had to increase the loop cou

Re: RDF* support in QueryBuilder

2021-10-12 Thread Andy Seaborne
Hi Alexey, Thanks for the report - it is a bug. Could you please raise a JIRA ticket for this? A workaround is WHERE { ?X ?predicate ?object FILTER isTriple(?X) BIND(subject(?X) AS ?s) BIND(predicate(?X) AS ?p) BIND(object(?X) AS ?o) } Andy Info: It's "RDF-star".

Re: Possible bug when querying

2021-10-11 Thread Andy Seaborne
Hi Han, Yes, it appears to be a bug. I can recreate it although I had to increase the loop count to 5000 to see anything going wrong. It looks like once the test is wrong, it is wrong for 10+ iterations afterwards, becomes OK again, and maybe goes wrong again. Quite strange, and no

Re: puzzling performance issue

2021-10-07 Thread Andy Seaborne
On 07/10/2021 12:30, Élie Roux wrote: if you take this expression WHERE { { bdr:MW23703_1183 ?instp ?insto . # 200ms alone } union { bdr:MW23703_1183 :hasTitle ?t . ?t ?tp ?to . #245ms alone } union { bdr:MW23703_1183 :partOf+ ?ancestor . ?ancestor :hasPart ?ancestorPart . #

Re: puzzling performance issue

2021-10-07 Thread Andy Seaborne
When there are different parts of pattern going to make up different parts of the CONSTRUCT template, splitting it up into UNION makes sense. It is using the fact that in a CONSTRUCT template, if variables are unbound, the triple pattern isn't substantiated but the rest of the triples from the

Re: How to provide full text search over a union of one read-only and one mutable graph

2021-10-03 Thread Andy Seaborne
On 01/10/2021 17:09, Brandon Sara wrote: Here is my scenario: - I have a large read-only set of data and a very small mutable set of data. - The read-only set of data can be pre-populated into a TDB2 while the mutable set of data will start out empty but will, obviously have data injected

Re: Subclass caching has some problems on Fuseki startup

2021-09-28 Thread Andy Seaborne
On 22/09/2021 17:17, Brandon Sara wrote: We will when we start pulling in realtime data that we want the SNOMED inference rules to help us discover new knowledge with. SNOMED has a conversion to OWL - isn't that OWL functional syntax? Or do you have another tool that converts RF2 to RDF?

Re: SHACL & TDB

2021-09-27 Thread Andy Seaborne
On 27/09/2021 16:28, Adrian Gschwend wrote: Hi group, I recently started playing with SHACL validation in Jena, worked well with the cli for the few things I tested, thanks for the work! What I don't really get is where SHACL support in Jena is heading. From what I understand in the

[Preview] Upcoming changes for Jena 4.3.0

2021-09-27 Thread Andy Seaborne
For the next Jena release, there is a change to use JDK java.net.http package for HTTP. This affects authentication. There is also a lot of code cleanup around SPARQL operations. Fuseki users are not affected by these changes. * HTTP usage provided by the JDK java.net.http package, with

Re: How to find line and column causing RiotException?

2021-09-25 Thread Andy Seaborne
Steve, Version? If grep on the file does not find it ... If it comes from parsing, the WARN should have line+column. If you get an exception, maybe it's the base URI passed to the parser and not in the data itself. Andy On 25/09/2021 11:40, Steve Vestal wrote: I am getting the

Re: Heap space problem with insert where

2021-09-24 Thread Andy Seaborne
Inline... On 24/09/2021 09:13, Harri Kiiskinen wrote: Hi all, and thanks for the support! I did manage to resolve the problem by modifying the query, detailed comments below. Harri K. On 23.9.2021 22.47, Andy Seaborne wrote: I guess you are using TDB2 if you have -Xmx2G. TDB1 wil use even

Re: Support of streams in Fuseki

2021-09-24 Thread Andy Seaborne
Hi Henrik, Requests to Fuseki are HTTP requests. You could simply copy the HTTP response body stream into a file if you can get the body as a stream of bytes from the local HTTP client library. Whether it streams or whether the HTTP client library in your application collects the whole

Re: Heap space problem with insert where

2021-09-23 Thread Andy Seaborne
Hi Harri, I guess you are using TDB2 if you have -Xmx2G. TDB1 wil use even more heap space. All those named variables mean that the intermediate results are being held onto. That includes the "no change" case. It looks like REPLACE and no change is still a new string. There is at least 8

Re: Fuseki console-logging changes Jena 4.1.0 —> 4.2.0

2021-09-22 Thread Andy Seaborne
it uses shell-variable interpolation, which is weirdly painful in my CI/CD environment (I'm using CircleCI). But to do it that way, I just ran: export JVM_ARGS="-Dlog4j.configurationFile=$FUSEKI_HOME/log4j2.properties" before calling fuseki-server. —Jeff On Tue, Sep 21, 2021 at 1:09 PM And

Re: Subclass caching has some problems on Fuseki startup

2021-09-22 Thread Andy Seaborne
(Obviously SNOMED CT is difficult for me to work with as it is licensed and not available directly in RDF, at least last time I looked - you have to produce it locally- It was about 5M triples. On 22/09/2021 03:09, Brandon Sara wrote: We need the inference so that we can know equivalence

Re: Subclass caching has some problems on Fuseki startup

2021-09-22 Thread Andy Seaborne
cycle without end through* *Generator.pump() -> LPInterpreter.next() -> LPInterpreter.run() -> Node.sameValueAs(). I have yet to try this on a reduced dataset to see if I can find the minimum necessary to replicate the spin.* On Fri, Sep 17, 2021 at 7:04 AM Andy Seaborne wrote: Hi Brandon,

Re: Fuseki console-logging changes Jena 4.1.0 —> 4.2.0

2021-09-21 Thread Andy Seaborne
Hi Jeff, The server is not finding the right logging configuration - the output looks like Jena command line format, not the Fuseki format. I don't why that should happen but it does. For now: copy the log4j2.properties in the distribution into the current directory then run the server.

Re: Fuseki memory in Docker

2021-09-21 Thread Andy Seaborne
On 20/09/2021 20:46, Martynas Jusevičius wrote: On Mon, Sep 20, 2021 at 3:07 PM Andy Seaborne wrote: On 20/09/2021 12:02, Martynas Jusevičius wrote: Hi, I see that the default Dockerfile has hardcoded JAVA_OPTIONS="-Xmx2048m -Xms2048m" https://github.com/apache/jena/blob

Re: Does Jena take more time to update when using reasoners?

2021-09-21 Thread Andy Seaborne
Hi Sushanth, It depends. On adding data, forward rules may do work to maintain the dependency net (the RETE). Backwards rules execute when data is accessed, not at update time. And of course, if the data does not overlap with the rules, there is no work to do. Andy On 20/09/2021

Re: Fuseki memory in Docker

2021-09-20 Thread Andy Seaborne
On 20/09/2021 12:02, Martynas Jusevičius wrote: Hi, I see that the default Dockerfile has hardcoded JAVA_OPTIONS="-Xmx2048m -Xms2048m" https://github.com/apache/jena/blob/main/jena-fuseki2/jena-fuseki-docker/Dockerfile#L107 https://docs.docker.com/engine/reference/builder/#env """ The

Usage of Jena OSGi bundle?

2021-09-19 Thread Andy Seaborne
Is anyone using the Jena OSGi bundle from a release? In the 4.2.0 release, the OSGi artifacts were pulled from the convenience binaries because they didn't work properly. Only Aaron's diligent testing caught this. The new problem is with the new dependency - Titanium JSON-LD. Our testing of

Re: Subclass caching has some problems on Fuseki startup

2021-09-18 Thread Andy Seaborne
without end through* *Generator.pump() -> LPInterpreter.next() -> LPInterpreter.run() -> Node.sameValueAs(). I have yet to try this on a reduced dataset to see if I can find the minimum necessary to replicate the spin.* On Fri, Sep 17, 2021 at 7:04 AM Andy Seaborne wrote: Hi Brandon, The configur

Re: Subclass caching has some problems on Fuseki startup

2021-09-17 Thread Andy Seaborne
Hi Brandon, The configuration is quite complex - it's likely due to the inference layer but it would be worth trying without the text index to confirm that especially for the loading. Do you need all that offers or is all you want RDFS

Re: Various writer issues

2021-09-16 Thread Andy Seaborne
Hi Brian, The tests for these area are TestEscapeStr AbstractTestPrefixMap but the tests for PrefixMapAdapter aren't being run. Jena itself does not use PrefixMapAdapter during Turtle writing. Writing uses PrefixMap and, for performance and safety reasons, writing starts by copying prefixes

Re: How to keep Prefixes using Algebra

2021-09-16 Thread Andy Seaborne
On 15/09/2021 20:55, Martynas Jusevičius wrote: You could maybe getPrologue() from the original query and then setPrologue() on the resulting one. https://jena.apache.org/documentation/javadoc/arq/org/apache/jena/query/Query.html#getPrologue() Yes. The algebra tralsation does include

CVE-2021-39239: Apache Jena: XML External Entity (XXE) vulnerability

2021-09-16 Thread Andy Seaborne
Severity: high Description: A vulnerability in XML processing in Apache Jena, in versions up to 4.1.0, may allow an attacker to execute XML External Entities (XXE), including exposing the contents of local files to a remote server. Mitigation: Users are advised to upgrade to Apache Jena

[ANN] Apache Jena 4.2.0

2021-09-16 Thread Andy Seaborne
The Apache Jena development community is pleased to announce the release of Apache Jena 4.2.0 In this release: * ShEx engine JENA-2112 See https://jena.apache.org/documentation/shex/ * Support for reading JSON-LD 1.1 JENA-1948 JSON-LD 1.1 uses the Titanium system.

Re: Faster TDB2 build?

2021-09-14 Thread Andy Seaborne
200. I wonder if we can created wikidata databases once then publish the database That would be nice, but as you say it can be troublesome, especially trying to have a version which is not too old compared to their latest dumped dataset. On Mon, 13 Sept 2021 at 06:44, Andy Seaborne

Re: Getting started with Jena Fuseki: export FUSEKI_HOME and FUSEKI_BASE?

2021-09-14 Thread Andy Seaborne
am not able to create pull request https://github.com/apache/jena-site/compare Or should I fork the repo and make a pull request inside the fork? Thanks Michael Am 30.08.21 um 16:27 schrieb Michael Wechner: Hi Andy Great, thanks, I will create a pull request. Thanks Michael Am 30.0

Re: Shared prefixes for all named graphs in TDB dataset (JENA-2006)

2021-09-13 Thread Andy Seaborne
to time. DatasetFactory.create() could change to be TIM. It should not make a difference except MRSW becomes MR+SW. Fuseki uses TIM when storing in memory. It takes an assembler to change that. Andy Holger On 2021-09-10 6:37 am, Andy Seaborne wrote: On 07/09/2021 12:33, Holger

Re: Faster TDB2 build?

2021-09-13 Thread Andy Seaborne
Hi there, Thanks for the information and experience report. Always good to hear what happens in a variety of situations. A few details: tdb2.tdbloader has a number of loading algorithms - which one are you using? While they are different parameters to a common algorithm, they have

Re: riot --base option does not work with single letter URI schema

2021-09-11 Thread Andy Seaborne
On 11/09/2021 18:09, Laura Morales wrote: It looks like a MS Windows drive letter, which then isn't handled very gracefully. I'm not using Windows though. It _looks like_ a MS Windows drive, then isn't handled properly. Jena has file handling to cope MS Windows. JENA-2160 - improved,

Re: riot --base option does not work with single letter URI schema

2021-09-11 Thread Andy Seaborne
It looks like a MS Windows drive letter, which then isn't handled very gracefully. Andy On 11/09/2021 00:47, Laura Morales wrote: This command riot --base="x:" --syntax=ttl --output=nt <( echo " ." ) returns this triple . instead of . Riot version 4.1.0.

Re: Validation of XSD 1.1 datatypes (was Re: Using Xerces2 2.12.1 with Jena)

2021-09-10 Thread Andy Seaborne
On 10/09/2021 19:23, Shaw, Ryan wrote: On 09/09/2021 23:32, Shaw, Ryan wrote: riot gives me the warning “Lexical form '' not valid for datatype XSD gYear”. But according to XSD 1.1 Part 2, is a permitted value for gYear, representing 1 BCE. On Sep 10, 2021, at 6:25 AM, Andy

Re: AW: basic error when trying to add a new dataset

2021-09-10 Thread Andy Seaborne
There is nothing more in the URL than http://192..143:8080/fuseki/manage.html Digression: nothing to hide here. 192.168,... presumably - that's a purely local IP address - no one can use it from outside the VPN.

Re: basic error when trying to add a new dataset

2021-09-10 Thread Andy Seaborne
On 10/09/2021 11:53, Bernhard Krabina wrote: Dear all, I am trying to get the fuseki triple store to work for the first time. I have it running via tomcat on localhost:8080/fuseki However, if I type any dataset name, select in-memory (or any other option), I just get the result "Sorry,

Re: Using Xerces2 2.12.1 with Jena

2021-09-10 Thread Andy Seaborne
Hi Ryan, On 09/09/2021 23:32, Shaw, Ryan wrote: On Sep 9, 2021, at 4:00 PM, Andy Seaborne wrote: What is your usage scenario? riot gives me the warning “Lexical form '' not valid for datatype XSD gYear”. But according to XSD 1.1 Part 2, is a permitted value for gYear

Re: Shared prefixes for all named graphs in TDB dataset (JENA-2006)

2021-09-09 Thread Andy Seaborne
On 07/09/2021 12:33, Holger Knublauch wrote: Having said this, I honestly don't think the limitations of one serialization should be enough to motivate such a drastic change to how prefixes are managed in TDB. It is not one serialization - it includes JSON-LD, where it looks like new

Re: Shared prefixes for all named graphs in TDB dataset (JENA-2006)

2021-09-09 Thread Andy Seaborne
On 07/09/2021 12:33, Holger Knublauch wrote: Slightly related to this, I noticed that PrefixMappingAdapter.uriToPrefix is very inefficient, doing a reverse O(n) look-up. It is not used for writing - the RIOT writers use a PrefixMap that is tuned for writing usage patterns. Reverse

Re: Using Xerces2 2.12.1 with Jena

2021-09-09 Thread Andy Seaborne
Hi Ryan, On 09/09/2021 17:08, Shaw, Ryan wrote: I would like to use Xerces2 2.12.1 (with support for XML Schema 1.1) as the Jena XML parser, specifically to gain support for XSD 1.1 datatypes. XML 1.1 != XSD 1.1 Jena supports the XSD datatypes relevant to RDF independently of XML. What is

Re: Shared prefixes for all named graphs in TDB dataset (JENA-2006)

2021-09-07 Thread Andy Seaborne
Hi Holger, I let TQ know this was happening when the JIRA was in progress. The errors you see mean internal transaction state has passed across transaction boundaries. DatasetGraphTransaction is the object class that carries across transactions in TDB1. DatasetGraphTDB has a lifetime of one

Re: Graph names accepted in Windows but not in linux

2021-09-07 Thread Andy Seaborne
> 09:22:30 INFO  Fuseki  :: [1] 400 Bad Request (15 ms) I also attached complete log as well. Thank you for your suggestion for the graph names Regards, Sarbashis *From: *Andy Seaborne *Date: *Monday, 6 September 2021 at 19:17 *To: *users@jena.apache.org *Subject: *Re: Graph nam

Re: Graph names accepted in Windows but not in linux

2021-09-06 Thread Andy Seaborne
Hi there, I can't explain the Linux/Windows difference. Fuseki was wrong (it could double decode because the servlet API does decoding) For Linux - looks like there is still a bug - it should work (I tried using using curl and a Fuseki server in Jetty). What does the Fuseki log file say?

Re: sparql --loc=

2021-09-05 Thread Andy Seaborne
On 05/09/2021 06:50, Laura Morales wrote: Is there a reason why the "sparql" command in Jena (4.1.0) does not support the --loc option? Or is it just not implemented? It works in-memory data although you can give it an assembler configuration file. Nowadays, it might be possible to add

<    1   2   3   4   5   6   7   8   9   10   >