Re: Post big file with curl

2023-09-28 Thread Simon Bin
combine -T with -X POST On Thu, 2023-09-28 at 13:11 +0300, Mikael Pesonen wrote: > > How do you do that? -T is PUT and -data-binary loads entire file into > memory before sending so it's out of memory. >

Re: Re: Problem with federated queries

2023-08-31 Thread Simon Bin
On Wed, 2023-08-30 at 21:36 +0100, Andy Seaborne wrote: > The query editor in the UI is a 3rd party compoent (from > @zazuco/yasqe - > it has security bug fixes from the original). It is has a SPARQL 1.1 > grammar engine which determines the synatx checking. It would benefit > from a

Re: RE: Problem with federated queries

2023-08-29 Thread Simon Bin
You could use the "LATERAL" extension of Jena (not standard Sparql 1.1): PREFIX wd: PREFIX owl: PREFIX ex: PREFIX wdt: PREFIX geof:

Order of Fuseki endpoints w.r.t Fuseki-UI Sparql endpoint

2023-06-30 Thread Simon Bin
Hi, we have defined some endpoints in Fuseki Assembler like this: <#service> rdf:type fuseki:Service ; fuseki:name "ds" ; fuseki:endpoint [ fuseki:name "update" ; fuseki:operation fuseki:update ; ] ; fuseki:endpoint [ fuseki:name "update" ; fuseki:operation fuseki:query ; ] ;

Re: Customizing Turtle pretty printing

2023-06-20 Thread Simon Bin
Maybe you can take some inspiration from https://github.com/buda-base/jena-stable-turtle/ On Mon, 2023-06-19 at 23:35 +, Shaw, Ryan wrote: > I would like to create a custom Turtle pretty printer that does not > try to align things like the current pretty printer does. I just want > a

Re: Re: CVE-2023-22665: Apache Jena: Exposure of arbitrary execution in script engine expressions.

2023-04-25 Thread Simon Bin
On Tue, 2023-04-25 at 08:01 +0100, Andy Seaborne wrote: > so the deployment has to explicitly enable scripting access. is there any way to operate a scripting enabled Jena Fuseki public and safely ? (Graal sandboxing etc?)

Re: Re: XSD date functions broken?

2023-04-18 Thread Simon Bin
4JxZdvbT32%2FS0roiqYSJpM%3D=0 > > < > > https://eur01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fspice-h2020.eu%2F=05%7C01%7Cenrico.daga%40open.ac.uk%7C28d24f570de747ce9c0e08db400d7a51%7C0e2ed45596af4100bed3a8e5fd981685%7C0%7C0%7C638174198852403818%7CUnknown%7CTWFpbGZsb3d8eyJW

Re: XSD date functions broken?

2023-04-18 Thread Simon Bin
The question is what the function should do?? if you look here: https://www.w3.org/TR/sparql11-query/#FunctionMapping it is "N"ot allowed to cast from int to dateTime On Tue, 2023-04-18 at 10:19 +, Enrico.Daga wrote: > Hi, > > I need help using XSD date/time functions, I tried versions

Re: GeoSPARQL and Weighted graph to find the Shortest path

2023-03-24 Thread Simon Bin
Maybe you can take a look at https://www.graphhopper.com/open-source/ or https://project-osrm.org/ On Fri, 2023-03-24 at 18:30 +0100, Yang-Min KIM wrote: > Dear Jena community, > > I would like to use GeoSPARQL, but before I proceed I need your > valuable advice. > > What I want to do: > -

Re: Significant decrease in indexing speed.

2023-03-13 Thread Simon Bin
if you do a 1 time operation of non-existant => tdb, try xloader. On Mon, 2023-03-13 at 16:08 +0100, Steven Blanchard wrote: > Hello, > > I am currently loading data in ttl format with the command line > tdb2.tdbloader (option --loader=phased ). This data consists of 1.25 > billion tuples.

Re: Re: AxiosError: Request failed with status code 403

2023-03-09 Thread Simon Bin
You have to manually fix the shiro.ini shipped with Jena: add these lines: /$/stats = anon /$/stats/* = anon Cheers, On Thu, 2023-03-09 at 13:55 +, Andy Seaborne wrote: > On 09/03/2023 13:03, Bruno Kinoshita wrote: > > Hi, > > > > Do you have a reverse proxy that could ve giltering that

Re: Re: Inference reasoner

2023-02-20 Thread Simon Bin
> . > > # Ontologies > <#pizza> ja:externalContent > <> . > > Le jeu., févr. 16 2023 at 14:57:39 -0600, Steve Vestal > a écrit : > > So this will let me issue SPARQL queries against a reasoner that > > pulls from a TDB store?  But is it using

Re: Re: Inference reasoner

2023-02-16 Thread Simon Bin
You are only missing 2 steps on you fuseki config, then it can work: 1) you need to use OWL reasoner, not an empty rule reasoner 2) you need to define a SPARQL service for your dataset here is the required changes in "git diff" format: diff --git a/data/config.ttl b/data/config.ttl index

Re: GeoSPARQL 1.1 Implementations

2023-02-13 Thread Simon Bin
I have opened some issues on the geosparql issue tracker, maybe someone else from the Jena community also wants to take a look there. Best, On Tue, 2023-01-24 at 00:27 +, Nicholas Car wrote: > Dear GeoSPARQL implementers and potential implementers, > > GeoSPARQL 1.1 >

Re: Re: Adding endpoints to DataServices with Fuseki main + multiple mods

2023-01-12 Thread Simon Bin
On Thu, 2023-01-12 at 12:10 +, Andy Seaborne wrote: > Why not change the configurations to put in the enhanced before > capability before calling readConfigurationDirectory? The ConfigDirLayout module should not need to know anything about the spatial service module (and work whether present

Adding endpoints to DataServices with Fuseki main + multiple mods

2023-01-12 Thread Simon Bin
Hi, we are trying to do 2 things * replicate the fuseki-webapp with fuseki main, keep different data services in separate ttl files in the configuration directory * externally from another module, enrich each data services with a geoindex operation for the 1st step, we added

Re: Re: Re: Question concerning Subsystem Registry

2023-01-05 Thread Simon Bin
ady knows that they won't need it, they should be able to skip it with a command line flag thus saving precious startup time. Messing with shading and manually crafting service files does not seem like the best way to me. > > Rob > > From: Simon Bin > Date: Wednesday, 4 January 2023 at

Re: Re: Question concerning Subsystem Registry

2023-01-04 Thread Simon Bin
ocs sound like they would have allowed me to do so. Thanks, > > Andy > > On 04/01/2023 13:08, Simon Bin wrote: > > Hi, > > > > I'm trying to change the Subsystem Registry in order to have  a > > better > > control about JenaSystem.init, I fo

Question concerning Subsystem Registry

2023-01-04 Thread Simon Bin
Hi, I'm trying to change the Subsystem Registry in order to have a better control about JenaSystem.init, I found this page ==> https://jena.apache.org/documentation/notes/system-initialization.html However I cannot follow it, as there is no JenaSystem.setSubsystemRegistry. Any ideas?

Re: Re: Weird sparql problem

2022-11-15 Thread Simon Bin
On Tue, 2022-11-15 at 13:13 +0200, Mikael Pesonen wrote: > For example this also hangs (or is slow) > > (?lit) text:query (skosxl:literalForm  "\"fever\"" "lang:en" ) . > ?c skosxl:prefLabel|altLabel [skosxl:literalForm ?lit] you can check if https://github.com/apache/jena/pull/1616 helps for

Re: Re: modular fuseki config file?

2022-10-10 Thread Simon Bin
On Thu, 2022-10-06 at 19:43 +0100, Andy Seaborne wrote: > > The Fuseki server reads a directory and loads each file to get a list > of > DataAccessPoint (service+endpoints+dataset)/ > > It loads the files in isolation - each file has to be complete but > there > can be multiple

modular fuseki config file?

2022-10-06 Thread Simon Bin
Hi, Jena Assemblers support "ja:imports" concept. I was wondering if it would make sense for the fuseki config (./fuseki-server --conf ...) to also support importing other files, so that you could have e.g. one .ttl file for each data set loaded in a server? Cheers,

Counting all triples performance and named graphs

2022-09-21 Thread Simon Bin
Hi, we have a data set with 500 million triples. Single named graph, fuseki tdb2. We observe different performance between select (count(*) as ?cnt) { ?s ?p ?o } ~4 minutes select (count(*) as ?cnt) { graph  { ?s ?p ?o } } ~3 minutes select (count(*) as ?cnt)

Re: Re: Re: Re: TDB2 bulk loader - multiple files into different graph per file

2022-08-29 Thread Simon Bin
I was asked to try it on my system (samsung 970 evo+ nvme, intel 11850h), but I used a slightly smaller data set (river_europe); it is not quite as bad as on Lorenz' but the buffering would help nevertheless: main : river_europe-latest.osm.pbf.ttl.bz2 : 815.14 sec : 72,098,221 Triples :