Re: SHACL Endpoint questions

2020-05-19 Thread Andy Seaborne
in question. I’m getting closer to being able to formulate a plausible extension to the shacl endpoint. looking forward to it. Having ?graph=..=.. makes sense. Thank you again for your help in the midst of all the 3.15.0 work, Chris On May 16, 2020, at 5:45 AM, Andy Seaborne wrote

Re: Fuseki 3.15.0 logging problems

2020-05-19 Thread Andy Seaborne
Franco, Thank you very much for the report and investigation. It does indeed impact the shaded jar in the apache-jena-fuseki download. The war file form works. The other one shaded jar - jena-fuseki-server AKA "Fuseki main" also seems to work although I can't see why they are different. (this

Re: SPIN constraint validation differs on 3.0.1 and 3.16.0-SNAPSHOT

2020-05-19 Thread Andy Seaborne
That's a long jump. (and it's a SpinRDF question) >> Are there some obvious suspects here or do I need to create a >> reproducible example? reproducible example (noting that the query has custom functions which have names that suggest they are not proper "functions" (i.e. their return is not

[ANN] Apache Jena 3.15.0

2020-05-19 Thread Andy Seaborne
The Apache Jena development community is pleased to announce the release of Apache Jena 3.15.0. This release includes experimental support for RDF* in Fuseki. https://jena.apache.org/documentation/rdfstar/ == Contributions and notable JIRA For a full list of tickets for this release, see:

Re: SHACL Endpoint questions

2020-05-17 Thread Andy Seaborne
Related/minor: https://issues.apache.org/jira/browse/JENA-1897 ?graph= tidied up so that GSP and SHACL validation service have the same behaviour. Andy On 16/05/2020 11:45, Andy Seaborne wrote: On 15/05/2020 00:57, Chris Tomlinson wrote: Hello Andy, I have standalone code using

Re: SHACL Endpoint questions

2020-05-16 Thread Andy Seaborne
se (inc implicit targets) has to be something that would include the node. I’m happy to raise an issue and create a PR if that makes sense. Great. Andy Thank you again very much, Chris On May 14, 2020, at 4:16 PM, Andy Seaborne wrote: On 14/05/2020 19:06, Chris Tomlinson wrote: Hi An

Re: SHACL Endpoint questions

2020-05-14 Thread Andy Seaborne
haclValidator.get().validate(shapesGraph, data); on a remote data graph. I hope this clarifies what I’m wanting to accomplish. I probably don’t understand what validate(shapes, graph, node) is supposed to do. Thanks for your patience, Chris On May 14, 2020, at 12:34 PM, Andy Seaborne wrote: ?

Re: SHACL Endpoint questions

2020-05-14 Thread Andy Seaborne
help, Chris On May 13, 2020, at 12:16 PM, Andy Seaborne wrote: On 13/05/2020 16:03, Chris Tomlinson wrote: Hi Andy, Thank you for the reply. I can get your example to work as you indicate, but have some questions: 1) I went through the latest SHACL draft <https://w3c.github.io/data-sh

Re: SHACL Endpoint questions

2020-05-13 Thread Andy Seaborne
r P707 that is submitted would only have references to P705, with no properties on P705, since that resource is in its own graph. I thought this is pretty much how validate(Shapes Graph, Node) would work, where Graph would be the union dataset graph. I’m evidently missing some understanding. I ap

Re: SHACL Endpoint questions

2020-05-12 Thread Andy Seaborne
Chris, Here's a shape that always executes and tests for an empty data graph. # No violation shacl validate -v -shapes ex-shapes.ttl -data not-empty.ttl # Violation shacl validate -v -shapes ex-shapes.ttl -data empty.nt "sh:targetNode" always executes. With this pattern, the SPARQL query can

Re: SHACL Endpoint questions

2020-05-11 Thread Andy Seaborne
help ... Anyway sorry to bother , Chris On May 11, 2020, at 10:19 AM, Chris Tomlinson wrote: Hi Andy, On May 10, 2020, at 2:53 PM, Andy Seaborne mailto:a...@apache.org>> wrote: On 08/05/2020 21:34, Chris Tomlinson wrote: 2) In any event, when I call the endpoint like: curl

Re: check the validity of RDF representation

2020-05-11 Thread Andy Seaborne
On 11/05/2020 15:54, Siddharth Trikha wrote: Hi, My server would get requests containing various RDF representations like Turtle, RDF/XML, N3, etc and getting a "representation" attribute which tells in what format the RDF is. On the server i need to check the validity of RDF

Re: SHACL Endpoint questions

2020-05-10 Thread Andy Seaborne
On 08/05/2020 21:34, Chris Tomlinson wrote: Hello, I’ve enabled a shacl endpoint as described in Apache Jena Shacl and have some questions. Our objective in using the endpoint is to be able to validate a given resource graph in the

Re: Fwd: benchmark results

2020-05-10 Thread Andy Seaborne
) there is an active real thread limit there. Fuseki 2.0 was a lonng time ago but the source is available to you. Andy On Thu, May 7, 2020 at 12:47 PM Andy Seaborne wrote: Hi Hashim, > Jena-TDB (Fuseki) Version 2.0 with a Java heap size set to 16GB, When you reference Jena or Fus

Re: Fwd: benchmark results

2020-05-07 Thread Andy Seaborne
Hi Hashim, > Jena-TDB (Fuseki) Version 2.0 with a Java heap size set to 16GB, When you reference Jena or Fuseki the first time, it should be the full form such as "Apache Jena Fuseki"; after that you can use the shorter name "Fuseki" (this is the general conventional way to handle

Re: TDB2 store grows unexpectedly

2020-05-02 Thread Andy Seaborne
On 27/04/2020 09:30, Jan Šmucr wrote: Hello Andy, It’s TDB2. See this graph: https://ibb.co/SPScf9V At the end of the day it’s up to twice the size if compacting daily. So as I understand, it’s an implementation detail, right? Yes, that's right. Jan On 2020/04/24 20:27:29, Andy

Re: TDB bug: IRI with accent é and _ is altered in TDB

2020-05-02 Thread Andy Seaborne
%3Cdev.jena.apache.org%3E Jean-Marc Vanel +33 (0)6 89 16 29 52 Réseau social http://semantic-forms.cc:1952/ Le sam. 2 mai 2020 à 11:31, Andy Seaborne a écrit : Same: JENA-1890 On 02/05/2020 08:21, Jean-Marc Vanel wrote: An IRI with an accent é and _ is altered in TDB. Example of such an IRI

Re: Migrate Web Application from TDB to TDB2

2020-05-02 Thread Andy Seaborne
On 01/05/2020 21:08, Bart van Leeuwen wrote: Hi, I'm trying to migrate a web application which uses TDB to use TDB2 From everything I have ready it should be pretty straight forward, but I immediately run into exceptions like: java.nio.channels.OverlappingFileLockException I don't

Re: TDB bug: IRI with accent é and _ is altered in TDB

2020-05-02 Thread Andy Seaborne
Same: JENA-1890 On 02/05/2020 08:21, Jean-Marc Vanel wrote: An IRI with an accent é and _ is altered in TDB. Example of such an IRI: http://Théodore_Monod The test prints: (triple

Re: Lucene integration

2020-05-01 Thread Andy Seaborne
(Sorry for the delay) On 28/04/2020 16:47, Nouwt, B. (Barry) wrote: Hi all, I have a short question about the Lucene Index that can be integrated with an Apache Jena Dataset (https://jena.apache.org/documentation/query/text-query.html#). Would inferred triples (by a forward

Re: Lucene integration

2020-05-01 Thread Andy Seaborne
(Sorry for the delay) On 28/04/2020 16:47, Nouwt, B. (Barry) wrote: Hi all, I have a short question about the Lucene Index that can be integrated with an Apache Jena Dataset (https://jena.apache.org/documentation/query/text-query.html#). Would inferred triples (by a forward

Re: Fuseki inference not triggered with incoming data

2020-04-30 Thread Andy Seaborne
of the data the current read transaction is acting on. Andy Any comments are welcome. Nicola On 2020/04/29 08:08:43, Andy Seaborne wrote: Sascha, (aside) For my general understanding: What level of reasoning are you and your student interested in having? There is a tradeoff between inferen

Re: Fuseki inference not triggered with incoming data

2020-04-29 Thread Andy Seaborne
Subject: Re: Fuseki inference not triggered with incoming data so Sascha in short try to use one of the Jena build-in reasoners if this is not bound to a pellet specific task. if it is you will have to bring this request up with the pellet maintainers. On Tue, Apr 28, 2020 at 5:20 PM Andy Seaborne

Re: Fuseki inference not triggered with incoming data

2020-04-28 Thread Andy Seaborne
On 27/04/2020 09:49, Meckler, Sascha wrote: Hi *, I have a question about Fuseki: We have a Fuseki server with one dataset for actual data and one dataset with reasoning based on the default union graph (=data from first dataset). When I insert new data into the first dataset, the

Re: regd: geosparql query

2020-04-28 Thread Andy Seaborne
The raw response shows the datatype is there. It is just the display not putting it on the screen. On 27/04/2020 00:10, manoj deshpande wrote: Hello all, Jena Fuseki shows successful storage of values with datatype GEO["wktLiteral"] in screenshot1 , But when using it in sparql endpoint

Re: DatasetAccessor deprecated

2020-04-28 Thread Andy Seaborne
separate clients for each of those, so RDFConnection doesn't help. On Tue, Apr 28, 2020 at 9:58 AM Andy Seaborne wrote: RDFConnection which is a collection of interfaces including 2 for dataset operations (read and write). On 27/04/2020 13:33, Martynas Jusevičius wrote: Hi, Why is DatasetAccessor

Re: DatasetAccessor deprecated

2020-04-28 Thread Andy Seaborne
RDFConnection which is a collection of interfaces including 2 for dataset operations (read and write). On 27/04/2020 13:33, Martynas Jusevičius wrote: Hi, Why is DatasetAccessor marked as deprecated in the latest Jena?

Re: Some malediction in http://dbpedia.org/resource/User_guide => StringIndexOutOfBoundsException in TDB

2020-04-25 Thread Andy Seaborne
er_guide> . <http://dbpedia.org/resource/User_guide> <http://www.w3.org/2002/07/owl#sameAs> <http://de.dbpedia.org/resource/Gebrauchsanleitung> . <http://dbpedia.org/resource/User_guide> <http://www.w3.org/2002/07/owl#sameAs> <http://id.dbpedia.org/resource/Manual_

Re: TDB2 store grows unexpectedly

2020-04-24 Thread Andy Seaborne
Hi Jan, You don't say whether this is TDB1 and TDB2 - they behave differently, both grow though by varying degrees, TDB1 somewhat less quickly than TDB2. What's more with small databases like 40M, TDB2 has a compaction function which, in effect, does the dump/restore but faster and with no

Re: Some malediction in http://dbpedia.org/resource/User_guide => StringIndexOutOfBoundsException in TDB

2020-04-24 Thread Andy Seaborne
On 24/04/2020 15:17, Jean-Marc Vanel wrote: How to reproduce with 3.14.0 bin/*tdbloader* --loc TDB --graph=http://dbpedia.org/resource/User_guide \ --verbose http://dbpedia.org/resource/User_guide Did the log say anything? As this is a remote URL, did it all arrive and parse without

Re: subproperty as qualifiers

2020-04-22 Thread Andy Seaborne
On 21/04/2020 10:21, Lorenz Buehmann wrote: What is a "qualifier" in RDF? You should look at the Wikidata data model, they are using such a concept which is basically done via some kind of reification on the statements (triples). Their approach is very thorough, you might reuse it for your

[ANN] Logging change.

2020-04-21 Thread Andy Seaborne
We are changing the logging provider for slf4j from log4j1 to log4j2 at the next release, 3.15.0. Largely, this is an invisible change. This message is let anyone who has customized the logging output from Fuseki that this change is coming. It is necessary because log4j1 has a security alert

Re: SPARQL Update does not changes the triple values

2020-04-21 Thread Andy Seaborne
that needs it. Best Regards, Silvio On 2020/04/20 16:21:06, Andy Seaborne wrote: Hi Silvio, You have: > tdb2:unionDefaultGraph true ; so the default graph for query is the union of the names graph and not the real default graph. WHERE {...} will be over the query union of the names gr

Re: SPARQL Update does not changes the triple values

2020-04-20 Thread Andy Seaborne
Hi Silvio, You have: > tdb2:unionDefaultGraph true ; so the default graph for query is the union of the names graph and not the real default graph. WHERE {...} will be over the query union of the names graph. That isn't a real graph - its calculated on demand. Updates do go to the

Re: regd : geosparql queries inside Fuseki server

2020-04-19 Thread Andy Seaborne
49415191105,8.461714982986452 48.99797963751407,8.461988568305971 48.99797963751407,8.461988568305971 48.997849415191105,8.461714982986452 48.997849415191105))"^^ Thanks, Manoj On Sat, Apr 18, 2020 at 3:47 PM Andy Seaborne wrote: The literal need to have a datatype "POLYGON((...))"^^

Re: regd : geosparql queries inside Fuseki server

2020-04-18 Thread Andy Seaborne
The literal need to have a datatype "POLYGON((...))"^^ judging by your first message, they are strings. Andy On 18/04/2020 13:03, manoj deshpande wrote: I tried below query as per suggestion, But this also returns me no results. Is the

Re: Memory management with Fuseki

2020-04-17 Thread Andy Seaborne
More information: About Java and containers and sizing: Summary - things got better at Java10 - running with Java11 is a good idea. https://www.docker.com/blog/improved-docker-container-integration-with-java-10/ Andy On 17/04/2020 10:58, Rob Vesse wrote: Okay, that's very helpful So

Re: Upload N-Quads with Fuseki with conflicting graph name

2020-04-17 Thread Andy Seaborne
Most likely nothing. If the system tries to read a dataset (quads) and wants a graph (triples), it takes just the default graph. If that was empty, then no data actually loaded. What is in the log? Andy On 17/04/2020 11:03, Mikael Pesonen wrote: Hi, in Fuseki I uploaded N-Quad

Re: "Not found" error message loading datasets to Fuseki

2020-04-17 Thread Andy Seaborne
113] GET http://glosis-fuseki-glosis.apps.ocp.wurnet.nl/$/server [2020-04-17 08:46:57] Admin INFO [113] 200 OK (2 ms) -- Luís ‐‐‐ Original Message ‐‐‐ On Thursday, April 16, 2020 12:01 PM, Andy Seaborne wrote: Is there anything in the server log?

Re: Memory management with Fuseki

2020-04-16 Thread Andy Seaborne
What do we know so far? 1/ 6 datasets, uptime 20Mb each (file size? format? Compressed? Inference?) (is that datasets or graphs?) 2/ At 1G the system kills processes. What we don't know: A/ Heap size B/ Machine RAM size - TDB uses memory mapped so this matters. It also means the process

Re: "Not found" error message loading datasets to Fuseki

2020-04-16 Thread Andy Seaborne
Is there anything in the server log? On 16/04/2020 09:28, Luí­s Moreira de Sousa wrote: Hi Andy, these are the steps to reproduce the error: 1. Log on to Fuseki 2. Click "manage datasets" 3. Click "add new dataset" 4. Give a name to the dataset and select "Persistnet" 5. Locate the newly

Re: How to find the Polygons Intersection inside Apache Fuseki Server?

2020-04-13 Thread Andy Seaborne
https://stackoverflow.com/questions/61187841/how-to-find-the-polygons-intersection-inside-apache-fuseki-server See https://jena.apache.org/documentation/geosparql On 13/04/2020 15:15, manoj deshpande wrote: I am using Apache Jena Fuseki Server for Storing Geo Coordinates of location. How to

Re: issue trying to query wikidata with jena api

2020-04-09 Thread Andy Seaborne
P.java:377) at org.apache.jena.sparql.engine.http.QueryEngineHTTP.execSelect(QueryEngineHTTP.java:345) at ag.pst.jena.test.RDFConnectionExample4.main(RDFConnectionExample4.java:84) any recommendation? Luis El jue., 9 abr. 2020 a las 15:03, Andy Seaborne () escribió: "SELECT ?item1 WHERE {\n" +

Re: issue trying to query wikidata with jena api

2020-04-09 Thread Andy Seaborne
"SELECT ?item1 WHERE {\n" + "?item1 wdt:P31 ?item2.\n" + "} LIMIT 10"; qs1.getResource("s") The variable is called "item1" qs1.getResource("item1") Andy On 09/04/2020 13:47, Luis Enrique Ramos García wrote: dear member of jena community, I have been trying to

Re: questions about reasoning with TDB

2020-04-07 Thread Andy Seaborne
Inline: On 04/04/2020 12:23, Dave Reynolds wrote: Hi, On 03/04/2020 15:38, Benjamin Geer wrote: I’ve been reading the documentation and list archives about Fuseki assembler configurations with TDB and reasoners, and I’m trying to figure out whether the setup I’d like to use is possible. I

Re: Running Fuseki stand-alone - where is FUSEKI_BASE?

2020-04-07 Thread Andy Seaborne
Hi Glenn, Try running with --verbose. It prints out FUSEKI_HOME and FUSEKI_BASE. FUSEKI_BASE is either set as an environment variable or is "run" resolved against FUSEKI_HOME. --data loads the file from the file as given into a memory dataset, not resolved against FUSEKI_BASE. Relative

Re: UPDATE requests with Fuseki web interface?

2020-04-04 Thread Andy Seaborne
Nowadays you can have different operations on the same service endpoint: This has query and update on /ds/sparql: new style configuration: - <#service> rdf:typefuseki:Service ; fuseki:name

Re: How to prevent data set action “remove” for read only sparql data (FUSEKI 3.14.0)

2020-04-01 Thread Andy Seaborne
Andreas, The example of a read-only configuration is for publishing read-only widely. Any application. The interface is for administration, control and development. It is by default restricted to localhost connections - in fact, it has to be the loopback interface, not even the local

Re: Apache Jena Fuseki with text indexing

2020-04-01 Thread Andy Seaborne
t" ; fuseki:serviceReadWriteGraphStore "data" ; fuseki:dataset :text_dataset ; . On Thu, Mar 26, 2020, at 11:31 AM, Zhenya Antić wrote: Hi Andy, Thanks. So I think I have all the lines you listed in the .ttl file (attached). I also checked, the data file contains the releva

Re: Lotico Event: Jena-based Components for Building Semantic Web Applications with Claus Stadler 4/2/20

2020-03-31 Thread Andy Seaborne
Excellent! On 31/03/2020 17:11, Marco Neumann wrote: FYI Jena-based Components for Building Semantic Web Applications http://www.lotico.com/index.php/Jena-based_Components_for_Building_Semantic_Web_Applications Speaker: Claus Stadler Location: Online on zoom ( https://zoom.us/j/955345345 )

Re: Sv: Sv: Embed Fuseki in Spring Boot (Jetty 9.4)

2020-03-31 Thread Andy Seaborne
pattern? Probably (= "yes, I don't see why not but I haven't tried"). Getting to it isn't easy - you'll have to look a the code of FusekiServer.Builder. How it will interact with DispatcherServlet, I don't know. Andy Greetings. Från: Andy Sea

Re: Sv: Embed Fuseki in Spring Boot (Jetty 9.4)

2020-03-30 Thread Andy Seaborne
Hi Glenn, The error means that something else is already using port. Have you configured the Spring Boot Jetty server to use port 3330? FusekiServer...build() will create a new Jetty server but maybe that's OK if nothing else is not already listening on the port. What's hard if you want

Re: Graceful shutdown of FusekiServer

2020-03-30 Thread Andy Seaborne
nly the DatasetGraph.close() is called and not the Dataset.close() which we override. I think I'll stick with the shutdownhook of Java for now. Thanks for your advice. Regards, Barry -Original Message- From: Andy Seaborne Sent: zondag 29 maart 2020 12:15 To: users@jena.apache.org Subject: Re: Grace

Re: Graceful shutdown of FusekiServer

2020-03-30 Thread Andy Seaborne
stick with the shutdownhook of Java for now. Thanks for your advice. Regards, Barry -Original Message- From: Andy Seaborne Sent: zondag 29 maart 2020 12:15 To: users@jena.apache.org Subject: Re: Graceful shutdown of FusekiServer Hi Barry, Whatever you do, the overall distributed system has t

Re: Graceful shutdown of FusekiServer

2020-03-29 Thread Andy Seaborne
ing the shutdownHook and just take measures on the other side to detect the custom dataset is no longer available? Thanks again! Regards, Barry -Original Message- From: Andy Seaborne Sent: donderdag 26 maart 2020 17:12 To: users@jena.apache.org Subject: Re: Graceful shutdown of FusekiServer Beca

Re: Upgrading 3.0.1 to 3.13.1: ReaderRIOT

2020-03-27 Thread Andy Seaborne
On 27/03/2020 15:30, Martynas Jusevičius wrote: This is getting off-topic, but I want to follow up on a few things. If the input is 1B triples, it can't go into a default model - straight to database is preferable even if it can be buffered. What prevents having a MessageBodyReader?

Re: Upgrading 3.0.1 to 3.13.1: ReaderRIOT

2020-03-27 Thread Andy Seaborne
3.0.1 was a long time ago! All the parsing code goes through RDFParser whichever API route you try. RDFParser.fromString(validRDFPost) .base("http://base;) .lang(RDFPOST) .parse(parsed); The code needs to read URLs and provide control of the HTTP connection to be used so the user can

Re: Upgrading 3.0.1 to 3.13.1: ReaderRIOT

2020-03-26 Thread Andy Seaborne
On Thu, 26 Mar 2020 at 17.32, Andy Seaborne wrote: After 3.14.0, use of "IRI" got wrapped up to limit the places it is used directly. Why 3.13.1 and not 3.14.0? Or 3.15.0-SNAPSHOT because of JENA-1838. On 26/03/2020 13:36, Martynas Jusevičius wrote: Hi, I'm working on a long overd

Re: Upgrading 3.0.1 to 3.13.1: ReaderRIOT

2020-03-26 Thread Andy Seaborne
After 3.14.0, use of "IRI" got wrapped up to limit the places it is used directly. Why 3.13.1 and not 3.14.0? Or 3.15.0-SNAPSHOT because of JENA-1838. On 26/03/2020 13:36, Martynas Jusevičius wrote: Hi, I'm working on a long overdue upgrade of Jena. So far the area where I can see most

Re: Graceful shutdown of FusekiServer

2020-03-26 Thread Andy Seaborne
Because servers have to survive disgraceful shutdown anyway (crash, DOS, server switched off, casters on the rack broken [1]), there isn't a graceful procedure. "kill -9" TDB has to be able to recover in any circumstances so that it what it does. No graceful shutdown currently. What

Re: TDB blocked

2020-03-26 Thread Andy Seaborne
08:24, Jean-Marc Vanel wrote: Le mer. 25 mars 2020 à 17:17, Andy Seaborne a écrit : On 25/03/2020 14:36, Jean-Marc Vanel wrote: Le mer. 25 mars 2020 à 13:07, Andy Seaborne a écrit : ... What's the full stack trace? (What's the blocking thread?) I was looking for the other thread

Re: TDB blocked

2020-03-25 Thread Andy Seaborne
On 25/03/2020 14:36, Jean-Marc Vanel wrote: Le mer. 25 mars 2020 à 13:07, Andy Seaborne a écrit : What's the full stack trace? (What's the blocking thread?) See below. I was looking for the other thread that is blocking this one at being(write). Same JVM. There is no across

Re: TDB blocked

2020-03-25 Thread Andy Seaborne
What's the full stack trace? (What's the blocking thread?) Yes, another unended W transaction in the same process might be the cause. Andy On 25/03/2020 11:08, Jean-Marc Vanel wrote: I investigated on that. Now my test suite passes without Jena TDB trouble. I just added this in Scala SBT

Re: Apache Jena Fuseki with text indexing

2020-03-25 Thread Andy Seaborne
t to push the data to the server (SPARQL Update, or the UI. For very large data: Load the TDB2 dataset offline Then run the "jena.textindexer" utility https://jena.apache.org/documentation/query/text-query.html#configuration The first way is easier. Andy Thanks, Zhenya On Su

Re: Problems setting up graph-acl in Fuseki

2020-03-23 Thread Andy Seaborne
to do the trick, but it's a shame the UI is lost in doing so. Thanks On Mon, Mar 23, 2020 at 5:23 PM Andy Seaborne wrote: Hi Simon, > the bundled fuseki distro that is apache-jena-fuseki? It's in the "main" version, not the full (with UI) packaging. https://repo1.maven.org

Re: Problems setting up graph-acl in Fuseki

2020-03-23 Thread Andy Seaborne
Hi Simon, > the bundled fuseki distro that is apache-jena-fuseki? It's in the "main" version, not the full (with UI) packaging. https://repo1.maven.org/maven2/org/apache/jena/jena-fuseki-server/ > @prefix access: . is right. The documentation is clear

Re: Apache Jena Fuseki with text indexing

2020-03-22 Thread Andy Seaborne
Just checking one point: Did you load the data before attaching the text index? The text index is calculated as data is added so if you first load the dataset then setup a text index, it will miss indexing the data. Andy On 21/03/2020 07:55, Lorenz Buehmann wrote: Hi, welcome to

Re: Software Site for Apache Jena OSGI

2020-03-20 Thread Andy Seaborne
20, 2020, 10:07 AM Andy Seaborne wrote: On 20/03/2020 00:42, aj...@apache.org wrote: I'm not quite sure what you mean by "Software Site". Are you looking for a place from which to download that artifact? If so, I don't think we currently provide a direct download of the jena-o

Re: Nested SELECT queries

2020-03-20 Thread Andy Seaborne
On 19/03/2020 15:12, Adam Davies wrote: Thanks for the reply! In terms of what I’m trying to get back, I was hoping to list in one row a list of names, and in another a list of locations (which you’ve helped me solve). The dataset I am working with contains information about published

Re: Software Site for Apache Jena OSGI

2020-03-20 Thread Andy Seaborne
On 20/03/2020 00:42, aj...@apache.org wrote: I'm not quite sure what you mean by "Software Site". Are you looking for a place from which to download that artifact? If so, I don't think we currently provide a direct download of the jena-osgi module. We provide it via Maven repository

Re: Fuseki's Cache-Control

2020-03-19 Thread Andy Seaborne
I've been told caching proxies do not normally cache URLs with a query string. Sometimes it's configurable, but that only works if you control the intermediate. And an intermediate may be remapping from resource to query string. That gets us to Adrian's point about being up-to-date and that

Re: Identify SPARQL query's type

2020-03-18 Thread Andy Seaborne
here? On Tue, Jul 30, 2013 at 4:25 PM Andy Seaborne wrote: On 30/07/13 10:13, Arthur Vaïsse-Lesteven wrote: Hi, I would like to know if Jena offers a way to detect the type of an unknow SPARQL request ?Starting from the query string. At the moment the only way I succed to code it without

Re: Memory management with Fuseki

2020-03-12 Thread Andy Seaborne
On 12/03/2020 11:26, Luí­s Moreira de Sousa wrote: Dear all, I loaded six RDF datasets to Fuseki with sizes comprised between 20 Kb and 20 Mb. To host these six datasets (in persistent mode) Fuseki is using over 1 Gb of RAM and could soon get killed by the system (running on a container

Re: getting RDF XML as a response from http request to fuseki

2020-03-10 Thread Andy Seaborne
t:application/rdf+xml return as response Content-Type:text/turtle;charset=utf-8 Pietro Maria Liuzzo cel (DE): +49 (0) 176 61 000 606 Skype: pietro.liuzzo (Quingentole) ORCID: https://orcid.org/-0001-5714-4011 Academia: https://uni-hamburg.academia.edu/PietroMariaLiuzzo Il giorno 10 mar

Re: getting RDF XML as a response from http request to fuseki

2020-03-10 Thread Andy Seaborne
On 10/03/2020 14:17, Pietro Liuzzo wrote: Dear all, I am probably missing something basic, but I am not sure how I can manage to get RDF-XML as a format for my response from Apache Jena Fuseki. I have tried sending in the request the Header Accept and Content-Type with value

Re: JSONLD and base URL

2020-03-08 Thread Andy Seaborne
On 08/03/2020 18:40, Erich Bremer wrote: Sorry! Your email said "Or https://github.com/afs/iri4ld; OK I can see that. I've put the issue on jsonld-java. https://github.com/jsonld-java/jsonld-java/issues/279 Andy On Thu, Mar 5, 2020 at 4:18 AM Andy Seaborne wrote: Not

Re: 502 Bad Gateway from Fuseki

2020-03-07 Thread Andy Seaborne
is it? Andy On 05/03/2020 09:53, Mikael Pesonen wrote: Created https://issues.apache.org/jira/browse/JENA-1854 On 05/03/2020 11.28, Andy Seaborne wrote: Because it's curl, it is sending the length. Content-Length is necessary for keeping connections open (even if, here, curl isn't doing

Re: 502 Bad Gateway from Fuseki

2020-03-05 Thread Andy Seaborne
] 400 Parse error: [line: 1, col: 34] Undefined prefix: ebucore (4 ms) So it wouldn't seem odd to me if Fuseki returned the error as soon as it sees it, since rest of the 40k of data won't affect the error. On 04/03/2020 16.43, Andy Seaborne wrote: What makes your tech support think that? What

Re: JSONLD and base URL

2020-03-05 Thread Andy Seaborne
(because it has less functionality than jena-iri). And it does get this case right. Andy PS It has a companion project xsd4ld - doing XSD datatypes. On 04/03/2020 23:39, Erich Bremer wrote: Andy - done. On Wed, Mar 4, 2020 at 12:25 PM Andy Seaborne wrote: java.net.URI is not perfect

Re: JSONLD and base URL

2020-03-04 Thread Andy Seaborne
java.net.URI is not perfect and it is also a mixture of RFC2396, RFC3896 and some pragmatics. Jena's own jena-iri gets it right. // NB The argument order can catch you out. IRI iri = IRIResolver.resolve("picture.jpg", "http://mysite.net; ); System.out.println(iri); but jsonld-java uses

Re: 502 Bad Gateway from Fuseki

2020-03-04 Thread Andy Seaborne
What makes your tech support think that? What operation is being called? Andy On 04/03/2020 13:36, Mikael Pesonen wrote: Hi, We have reverse proxy on Fuseki. I'm getting this error occasionally when posting data to fuseki dataset endpoint and data is containing some error. Instead of

Re: Exception in writing RDF from model

2020-03-03 Thread Andy Seaborne
, objectResource);        model.add(statement);    model.close();        dataset.commit(); } catch(Exception ex) { ex.printStackTrace(); } finally {        dataset.end(); } } I can see that the database has been created: image.png On Tue, Mar 3, 2020 at 7:40 PM Andy Seaborne <mailt

Re: Exception in writing RDF from model

2020-03-03 Thread Andy Seaborne
It looks like previously you were using the database withotu transactions and didn't shutdown cleanly. The database has been corrupted. You'll need to rebuild it. The code below is fine - the problem happened beforehand and is only now showing up. Andy On 03/03/2020 14:01, Diptendu

Re: Referencing individuals with Fuseki

2020-03-03 Thread Andy Seaborne
On 03/03/2020 13:54, Luí­s Moreira de Sousa wrote: Dear all, I would like to use Fuseki in a linked data project. Is it possible to reference a single individual with a URI? For instance something like: http://my.fuseki.server/datasetX#individualA The link above currently returns the full

Re: Questions about blank nodes in SPARQL queries

2020-03-01 Thread Andy Seaborne
On 01/03/2020 17:06, Steve Vestal wrote: I am using the results of one SPARQL query against an OntModel to construct follow-on SPARQL queries.  The OntModel contains blank nodes to denote some classes and individuals.  QueryResult gives me RDFNodes, and I am using methods such as

Re: Enable Cross-origin resource sharing (CORS) on embedded Fuseki (jetty)

2020-02-28 Thread Andy Seaborne
a development build using maven? If so, I might be able to test it. Regards, Barry -Original Message- From: Andy Seaborne Sent: dinsdag 25 februari 2020 19:38 To: users@jena.apache.org Subject: Re: Enable Cross-origin resource sharing (CORS) on embedded Fuseki (jetty) JENA-1294 I've

Re: SPARQL performance question

2020-02-27 Thread Andy Seaborne
onnectionBB rdf:type <#portConnection>.     ?leftB <#simplexConnectTo> ?connectionBB.     FILTER(!sameTerm(?rightA,?connectionBB) && !sameTerm(?rightB,?connectionBB) && !sameTerm(?leftB,?connectionBB) && !sameTerm(?leftA,?connectionBB) && !sameTerm(?connec

Re: SPARQL performance question

2020-02-26 Thread Andy Seaborne
he filters. Good news! What is the final query? I'm back in the saddle.  Thanks again for everyone's help. Andy On 2/25/2020 12:33 PM, Andy Seaborne wrote: Current is 3.14.0. On 25/02/2020 17:38, Steve Vestal wrote: I'm currently using 3.8.0 jars. On 2/25/2020 11:30 AM, Andy Seaborne wrote:

Re: Enable Cross-origin resource sharing (CORS) on embedded Fuseki (jetty)

2020-02-25 Thread Andy Seaborne
JENA-1294 I've put in a fixed setup activated by "--cors" - I'd be obliged if people would try it out and let us know if it works. It's in the latest development build #1834. Thanks Andy On 29/01/2020 11:28, Andy Seaborne wrote: Barry - thanks for the report On 28/01/

Re: SPARQL performance question

2020-02-25 Thread Andy Seaborne
Current is 3.14.0. On 25/02/2020 17:38, Steve Vestal wrote: I'm currently using 3.8.0 jars. On 2/25/2020 11:30 AM, Andy Seaborne wrote: On 25/02/2020 16:25, Steve Vestal wrote: I read that chapter in DuCharme's book and have some things to try, such as moving the rdf:type triples around

Re: SPARQL performance question

2020-02-25 Thread Andy Seaborne
patterns FILTERs } is actually a different query and can push the optimizer to make better choices. Optimization is a lot of "it depends". (BTW which version are you running?) Andy On 2/25/2020 8:54 AM, Andy Seaborne wrote: It might be worth reordering the tripe patterns and/

Re: Encoding problem when retrieving result from QueryEngineHTTP

2020-02-25 Thread Andy Seaborne
On 25/02/2020 15:08, Mark Hissink Muller wrote: Hi all, I am trying to solve an encoding problem between a Java client, which is a Spring Boot server application that runs on Windows, and a rdf4j-server running on Tomcat 8 on Ubuntu 18.04 LTS. I should retrieve correct data with Danish

Re: SPARQL performance question

2020-02-25 Thread Andy Seaborne
It might be worth reordering the tripe patterns and/or putting in some clustering: there is a large amount of cross product being done which means many,many unwanted or duplicate pieces of work. Fore example, move the rdf:type to the end (do you need them at all?) Andy (Replaced long

Re: Error for invalid Accept header

2020-02-19 Thread Andy Seaborne
https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/406 discusses the use of 406 for bad accept. Summary: send something is preferable to sending an error. YMMV Andy contrast to https://tools.ietf.org/html/rfc7231#section-6.5.6 SHOULD and MAY. But we don't have a common format to

Re: Backup and restore with Fuseki

2020-02-17 Thread Andy Seaborne
aai.uni-hamburg.de/en/ethiostudies/study > > > Am 15.02.2020 um 13:42 schrieb Andy Seaborne : > > > > Hi Pietro, > > > > On 15/02/2020 05:22, Pietro Liuzzo wrote: > >> Dear all, > >> I am moving to a new server, and I would like to backup the dat

Draft Dockerfile for Fuseki

2020-02-16 Thread Andy Seaborne
Martynas, and everyone else, Here is a revised Dockerfile. There isn't a "one size fits all" Dockerfile so this aims to be simple, and a basis for local requirements by copying and adding to the Dockerfile. - it downloads the jars, and checks the sha1 checksum - allows JVM argument to be set

Re: Backup and restore with Fuseki

2020-02-15 Thread Andy Seaborne
Hi Pietro, On 15/02/2020 05:22, Pietro Liuzzo wrote: Dear all, I am moving to a new server, and I would like to backup the data in my graphs from the old instance to restore them in the new one. In the running Apache Jena Fuseki I have hit the backup button, which informs me it has started

Re: fuseki server in windows and ubuntu

2020-02-11 Thread Andy Seaborne
On 11/02/2020 12:30, Andy Seaborne wrote: On 11/02/2020 07:56, Luis Enrique Ramos García wrote: Thanks for your support, just running, about your question, I saw different options to run the server here: https://jena.apache.org/documentation/fuseki2/fuseki-run.html my interest is run

Re: fuseki server in windows and ubuntu

2020-02-11 Thread Andy Seaborne
On 11/02/2020 07:56, Luis Enrique Ramos García wrote: Thanks for your support, just running, about your question, I saw different options to run the server here: https://jena.apache.org/documentation/fuseki2/fuseki-run.html my interest is run the service, load data as use it as a query

Re: "Proposal of an Automated Mission Manager for Cooperative Autonomous Underwater Vehicles"

2020-02-08 Thread Andy Seaborne
Good to hear of Jena usage and nice to hear its because of standards. On 02/02/2020 17:09, Bob DuCharme wrote: I thought the subscribers to this mailing list would enjoy hearing about a very cool use of Fuseki: https://doi.org/10.3390/app10030855 (You'll have to download the PDF from that

<    6   7   8   9   10   11   12   13   14   15   >