Re: java.lang.Error: Maximum lock count exceeded

2023-07-16 Thread Jean-Marc Vanel
It is Jena 4.8.0 . Jean-Marc Vanel <http://semantic-forms.cc:9112/display?displayuri=http://jmvanel.free.fr/jmv.rdf%23me> +33 (0)6 89 16 29 52 Le dim. 16 juil. 2023 à 21:53, Andy Seaborne a écrit : > https://github.com/apache/jena/issues/1499 > > Are you are using 4.6.0

java.lang.Error: Maximum lock count exceeded

2023-07-16 Thread Jean-Marc Vanel
nCtl.begin(DatasetGraphTxnCtl.java:99) at org.apache.jena.sparql.core.DatasetImpl.begin(DatasetImpl.java:120) Jean-Marc Vanel <http://semantic-forms.cc:1952/display?displayuri=http://jmvanel.free.fr/jmv.rdf%23me> +33 (0)6 89 16 29 52 Twitter: @jmvanel , @jmvanel_fr Chroniques jardin <http://semantic-fo

Re: JSON-LD : ERROR with riot, but not with com.apicatalog.jsonld API

2022-05-11 Thread Jean-Marc Vanel
Le mer. 11 mai 2022 à 11:51, Andy Seaborne a écrit : > > On 11/05/2022 09:12, Jean-Marc Vanel wrote: > > > As a side question, is there a way to configure riot or Jena API to have > > (more) verbose JSON-LD error messages, possibly with line numbers. > > Does titani

Re: JSON-LD : ERROR with riot, but not with com.apicatalog.jsonld API

2022-05-11 Thread Jean-Marc Vanel
Jean-Marc Vanel <http://semantic-forms.cc:9112/display?displayuri=http://jmvanel.free.fr/jmv.rdf%23me> +33 (0)6 89 16 29 52 Le mer. 11 mai 2022 à 11:48, Andy Seaborne a écrit : > What version of java are you running? Is it 11.0.14? > NO java --version openjdk *11.0.15* 2022-0

JSON-LD : ERROR with riot, but not with com.apicatalog.jsonld API

2022-05-11 Thread Jean-Marc Vanel
o use wget or other tools, but that was convenient ... The test data are here : http://jmvanel.free.fr/test/?M=D Jean-Marc Vanel <http://semantic-forms.cc:1952/display?displayuri=http://jmvanel.free.fr/jmv.rdf%23me> +33 (0)6 89 16 29 52 Twitter: @jmvanel , @jmvanel_fr Chroniques jardin <http://semantic-forms.cc:1952/history?uri=http%3A%2F%2Fdbpedia.org%2Fresource%2FChronicle>

jena sparql extension for querying nominatim API or other API

2022-01-28 Thread Jean-Marc Vanel
://jena.apache.org/documentation/query/java-uri.html Jean-Marc Vanel <http://semantic-forms.cc:1952/display?displayuri=http://jmvanel.free.fr/jmv.rdf%23me> +33 (0)6 89 16 29 52 Twitter: @jmvanel , @jmvanel_fr ; chat: irc://irc.freenode.net#eulergui Chroniques jardin <http://semantic-form

Re: Datatype format exception : float - detect the incorrect triple

2022-01-01 Thread Jean-Marc Vanel
o recover the important data. And that 's an opportunity to test TDB2 ... Jean-Marc Vanel <http://semantic-forms.cc:9112/display?displayuri=http://jmvanel.free.fr/jmv.rdf%23me> +33 (0)6 89 16 29 52 Le sam. 1 janv. 2022 à 22:36, Andy Seaborne a écrit : > > > On 01/01/2022 20:50, Andy S

Re: Datatype format exception : float - detect the incorrect triple

2022-01-01 Thread Jean-Marc Vanel
Le sam. 1 janv. 2022 à 21:50, Andy Seaborne a écrit : > > On 01/01/2022 19:45, Jean-Marc Vanel wrote: > > During TDB initialization, I get this warning : > > WARN o.apache.jena.sparql.expr.NodeValue - Datatype format exception: > > "4,77962"^^xsd:float

Datatype format exception : float - detect the incorrect triple

2022-01-01 Thread Jean-Marc Vanel
?S ?P "4,77962"^^xsd:float . } I also tried this: SELECT * WHERE { ?S ?P ?O. FILTER ( STR(?O) = "4,77962" ) } This uses the latest jena Version 4.3.2 , with TDB 1 . I suspect this bad data prevents geosparl queries from getting any result. Jean-Marc Vanel <http://semanti

Re: Error initializing geosparql

2021-12-05 Thread Jean-Marc Vanel
eSRS.java:61) org.apache.jena.geosparql.configuration.GeoSPARQLOperations.findModeSRS(GeoSPARQLOperations.java:520) Is it because the WKT separator should be a space instead of a comma, or because 3D is not allowed ? Jean-Marc Vanel <http://semantic-forms.cc:9112/display?displayuri=http://jmvanel.free.fr/jmv.rdf%23me> +33 (0)6 89 16 29

Re: Error initializing geosparql

2021-12-05 Thread Jean-Marc Vanel
ld have this datatype : http://www.opengis.net/ont/geosparql#wktLiteral So I can make a SPARQL update to FIX my data . But maybe Jena GeoSPARQL could be forgiving about the string datatype for WKT data . And the error message should be more explicit ... Thanks Andy for the quick answer. Jean-Marc Vanel &l

Error initializing geosparql

2021-12-05 Thread Jean-Marc Vanel
va:263) deductions.runtime.jena.RDFStoreLocalJenaProviderObject$.createDatabase(RDFStoreLocalJenaProvider.scala:175) I use the latest Jena release 4.2.0 . Note that there is no trouble on my development machine, only on the production site , although the source is the same . Jean-Marc Vanel

Spatial Index creation can fail , FIX proposed

2021-12-01 Thread Jean-Marc Vanel
+ feature); *continue;* } Jean-Marc Vanel <http://semantic-forms.cc:1952/display?displayuri=http://jmvanel.free.fr/jmv.rdf%23me> +33 (0)6 89 16 29 52 Twitter: @jmvanel , @jmvanel_fr ; Chroniques jardin <http://semantic-forms.cc:1952/history?uri=http%3A%2F%2Fdbpedia.org%2Fresource%2FChronicle>

Followup GeoSparql + TDB 1 : freeze

2021-03-28 Thread Jean-Marc Vanel
sInferenceMemory.$anonfun$makeInstanceLabelFuture$1(InstanceLabelsInferenceMemory.scala:49) This transaction just adds one literal triple to TDB. There are several such stacks present, seen when executing kill -3 when the web application is frozen: http://jmvanel.free.fr/tmp/thread_dump.txt Jean-

Spatial index automatically updated on TDB change ?

2021-03-01 Thread Jean-Marc Vanel
I don't think this is possible in current API, similar to what happens by default in TextDataset . My use case is biodiversity field observations with GPS positions . I guess an issue would be appropriate. Jean-Marc Vanel <http://semantic-forms.cc:1952/display?displayuri=http://jmvanel.free

tested GeoSPARQL + Lucene API's together: it works!

2021-03-01 Thread Jean-Marc Vanel
anel/semantic_forms/blob/master/scala/forms/src/main/scala/deductions/runtime/jena/GeoSPARQLtest.scala#L13 That's with TDB 1 and Jena 3.17 . I suppose it would work also for TDB 2 and Jena 4.0.0-SNAPSHOT ... Jean-Marc Vanel <http://semantic-forms.cc:1952/display?displayuri=http://jmvanel.free.fr/jmv.rdf%23

Re: New attempt with GeoSparql API

2021-02-27 Thread Jean-Marc Vanel
indexed spatial data. I'll try GeoSPARQL + Lucene, to see for myself; I see no fundamental reason preventing having two different indices on a database (actually altogether 16 , the 12 TDB/*.idn plus Lucene plus GeoSparql ). Time permitting, I also want to try 4.0.0-SNAPSHOT. Jean-Marc Vanel <h

Re: New attempt with GeoSparql API

2021-02-27 Thread Jean-Marc Vanel
with Lucene indexing? Jean-Marc Vanel <http://semantic-forms.cc:9112/display?displayuri=http://jmvanel.free.fr/jmv.rdf%23me> +33 (0)6 89 16 29 52 Le mer. 24 févr. 2021 à 09:17, Jean-Marc Vanel a écrit : > The Scala code is here; > > https://github.com/jmvanel/semantic_forms/blob/mas

New attempt with GeoSparql API

2021-02-24 Thread Jean-Marc Vanel
, send me a private mail and I'll write it :) . Jean-Marc Vanel <http://semantic-forms.cc:1952/display?displayuri=http://jmvanel.free.fr/jmv.rdf%23me> +33 (0)6 89 16 29 52 Twitter: @jmvanel , @jmvanel_fr ; chat: irc://irc.freenode.net#eulergui Chroniques jardin <http://semantic-forms.cc:195

Re: Is it possible to use UTF8 IRIs in Turtle?

2020-12-31 Thread Jean-Marc Vanel
re { ?S ?P <http://dbpedia.org/resource/Corren*ç*on-en-Vercors> } Jean-Marc Vanel <http://semantic-forms.cc:9112/display?displayuri=http://jmvanel.free.fr/jmv.rdf%23me> +33 (0)6 89 16 29 52 Le jeu. 31 déc. 2020 à 08:50, Laura Morales a écrit : > Is there a way to write UT

Re: Update Jena from 3.16 to 3.17 : problem with Jackson, diverging version in another software

2020-12-21 Thread Jean-Marc Vanel
https://github.com/jmvanel/semantic_forms/blob/master/scala/project/Common.scala#L17 Jean-Marc Vanel <http://semantic-forms.cc:9112/display?displayuri=http://jmvanel.free.fr/jmv.rdf%23me> +33 (0)6 89 16 29 52 Le mar. 15 déc. 2020 à 09:36, Jean-Marc Vanel a écrit : > I feel that I'm cor

Re: Indexing datatypes

2020-12-16 Thread Jean-Marc Vanel
Andy can confirm, but AFAIK everything is indexed in Jena. And a number is stored as such . Jean-Marc Vanel <http://semantic-forms.cc:9112/display?displayuri=http://jmvanel.free.fr/jmv.rdf%23me> +33 (0)6 89 16 29 52 Le mer. 16 déc. 2020 à 17:23, Laura Morales a écrit : > I'm able to

Re: Update Jena from 3.16 to 3.17 : problem with Jackson, diverging version in another software

2020-12-15 Thread Jean-Marc Vanel
Play Framework in favor of Akka, which is anyway the underlying server of Play Framework. I use very little of Play Framework; my XHTML templates are in plain Scala XML. Jean-Marc Vanel <http://semantic-forms.cc:9112/display?displayuri=http://jmvanel.free.fr/jmv.rdf%23me> +33 (0)6 89 16 29 52

Re: Does Jena support RDF*?

2020-12-14 Thread Jean-Marc Vanel
( find http://localhost:9000/ldp/1486136803523-89228787433384#1486136808956 in the source code ) , that is used both as a subject for metadata, and as a graph for the current modified triples. It deserves more explanations I think. Jean-Marc Vanel <http://semantic-forms.cc:9112/display?display

Re: Update Jena from 3.16 to 3.17 : problem with Jackson, diverging version in another software

2020-12-14 Thread Jean-Marc Vanel
uires Jackson Databind version >= 2.10.0 and < 2.11.0 " . I failed to find other dependencies that would bring Jackson 2.11.3 . So either the SBT exclusion attempt does not work, or there is some other dependency bringing Jackson 2.11.3 ( Akka ? ) . Jean-Marc Vanel <http://sem

Re: Does Jena support RDF*?

2020-12-14 Thread Jean-Marc Vanel
/semantic_forms Jean-Marc Vanel <http://semantic-forms.cc:9112/display?displayuri=http://jmvanel.free.fr/jmv.rdf%23me> +33 (0)6 89 16 29 52 Le dim. 13 déc. 2020 à 20:35, Laura Morales a écrit : > > What's your interest in RDF*? > > There seems to have been this endless debate abo

Update Jena from 3.16 to 3.17 : problem with Jackson, diverging version in another software

2020-12-11 Thread Jean-Marc Vanel
nfo] * Attributed(/home/jmv/.cache/coursier/v1/https/ repo1.maven.org/maven2/com/fasterxml/jackson/core/jackson-databind/2.11.3/jackson-databind-2.11.3.jar ) I hoped to drop the Jackson Jena dependencies, and depend only on Jackson 2.10.4 like Play, but that 's not the case... Jean-Marc Vanel

Re: TDB(1) : get prefixes map ?

2020-12-08 Thread Jean-Marc Vanel
//github.com/jmvanel/semantic_forms/blob/master/scala/forms/src/main/scala/deductions/runtime/jena/GraphWriterPrefixMap.scala#L42 Jean-Marc Vanel <http://semantic-forms.cc:9112/display?displayuri=http://jmvanel.free.fr/jmv.rdf%23me> +33 (0)6 89 16 29 52 Le lun. 7 déc. 2020 à 17:22, Andy

Re: A seemingly simple question for beginners

2020-12-06 Thread Jean-Marc Vanel
, you need in your database one triple like: :西医症状 rdf:type <http://www.w3.org/2002/07/owl#Class> . and then ?s in query 1 will match :西医症状 , ?p will match rdf:type , and ?o will match <http://www.w3.org/2002/07/owl#Class> . Jean-Marc Vanel <http://semantic-forms.cc:9112/display?displayu

Re: TDB(1) : get prefixes map ?

2020-12-06 Thread Jean-Marc Vanel
scratch I could use org.apache.jena.shared.impl.PrefixMappingImpl I didn't understand from Andy what is coming after Jena 3.17 about prefixes . Probably the doc. should mention WriterDatasetRIOT in https://jena.apache.org/documentation/io/rdf-output.html#api . Jean-Marc Vanel <http://sema

Re: 3.17

2020-12-02 Thread Jean-Marc Vanel
The announcement mail is here : https://lists.apache.org/thread.html/r911197ad367bde08373614fb6a74a72cef29d886289fc2ff9f6b0251%40%3Cusers.jena.apache.org%3E Jean-Marc Vanel <http://semantic-forms.cc:9112/display?displayuri=http://jmvanel.free.fr/jmv.rdf%23me> +33 (0)6 89 16 29 52 Le mer.

Re: 3.17

2020-12-02 Thread Jean-Marc Vanel
3.17.0 has been announced on this list; it works for me with SBT; should work also with Maven :) Jean-Marc Vanel <http://semantic-forms.cc:9112/display?displayuri=http://jmvanel.free.fr/jmv.rdf%23me> +33 (0)6 89 16 29 52 Le mer. 2 déc. 2020 à 19:38, Erich Bremer a écrit : > How lo

Re: TDB(1) : get prefixes map ?

2020-12-02 Thread Jean-Marc Vanel
a pom.xml ) Jean-Marc Vanel <http://semantic-forms.cc:9112/display?displayuri=http://jmvanel.free.fr/jmv.rdf%23me> +33 (0)6 89 16 29 52 Le mar. 1 déc. 2020 à 22:36, Andy Seaborne a écrit : > > > On 01/12/2020 21:15, Jean-Marc Vanel wrote: > > This is fine , I can get all th

Re: Jena geosparql , simple export use case ; practical doc. needed

2020-11-02 Thread Jean-Marc Vanel
Not sure if it is relevant, but almost all of my data is in named graphs, including the ontologies. The above queries were made with union graph set through ARQ API . Jean-Marc Vanel <http://semantic-forms.cc:9112/display?displayuri=http://jmvanel.free.fr/jmv.rdf%23me> +33 (0)6 89 16 29 5

Re: Jena geosparql , simple export use case ; practical doc. needed

2020-11-01 Thread Jean-Marc Vanel
tion in documentation to make the solution clearer in > the future. It should only require invoking > `GeoSPARQLConfig.setupSpatialIndex(dataset);` or similar on the target > dataset.|| > > All the best, > > Greg > > On 29/10/2020 09:23, Jean-Marc Vanel wrote: > > Hi Greg

Re: Jena geosparql , simple export use case ; practical doc. needed

2020-10-29 Thread Jean-Marc Vanel
ves the impression that no configuration is necessary. Jean-Marc Vanel <http://semantic-forms.cc:9112/display?displayuri=http://jmvanel.free.fr/jmv.rdf%23me> +33 (0)6 89 16 29 52 Le mer. 28 oct. 2020 à 23:29, Greg a écrit : > Hi Jean-Marc, > > If you have an sample of data then

Re: Jena geosparql , simple export use case ; practical doc. needed

2020-10-26 Thread Jean-Marc Vanel
nates to GML or GeoJson, I'll write some code that I'll share. Jean-Marc Vanel <http://semantic-forms.cc:9112/display?displayuri=http://jmvanel.free.fr/jmv.rdf%23me> +33 (0)6 89 16 29 52 Le lun. 26 oct. 2020 à 16:38, Greg Albiston a écrit : > Hi Jena-Marc, > > The namespace &

Re: Jena geosparql , simple export use case ; practical doc. needed

2020-10-26 Thread Jean-Marc Vanel
tem and default datatype. Jean-Marc Vanel <http://semantic-forms.cc:9112/display?displayuri=http://jmvanel.free.fr/jmv.rdf%23me> +33 (0)6 89 16 29 52 Le lun. 26 oct. 2020 à 11:02, Marco Neumann a écrit : > good questions Jean-Marc, I will organize a session early in the new year > t

Jena geosparql , simple export use case ; practical doc. needed

2020-10-26 Thread Jean-Marc Vanel
? Do I have to use one of the convert* methods in https://jena.apache.org/documentation/javadoc/geosparql/index.html?org/apache/jena/geosparql/configuration/GeoSPARQLOperations.html ? Jean-Marc Vanel <http://semantic-forms.cc:1952/display?displayuri=http://jmvanel.free.fr/jmv.rdf%23me> +33 (0)6

Re: simple SPARQL query with UNION => timeout

2020-10-06 Thread Jean-Marc Vanel
But putting the most general criterion ?thing a ?CLASS . at the end fixes the issue !!! :) . I thought that the Jena optimizer would do it by itself Jean-Marc Vanel <http://semantic-forms.cc:9112/display?displayuri=http://jmvanel.free.fr/jmv.rdf%23me> +33 (0)6 89 16 29 52 Le mar.

simple SPARQL query with UNION => timeout

2020-10-06 Thread Jean-Marc Vanel
. { ?thing a dcat:Dataset .} UNION { ?thing a void:Dataset .} } Jean-Marc Vanel <http://semantic-forms.cc:1952/display?displayuri=http://jmvanel.free.fr/jmv.rdf%23me> +33 (0)6 89 16 29 52 Twitter: @jmvanel , @jmvanel_fr ; chat: irc://irc.freenode.net#eulergui Chroniques jardin <http://semantic-

Re: Memory increase in TDB 1 incremental load

2020-09-04 Thread Jean-Marc Vanel
LRU). > I keep this under my elbow .. Jean-Marc Vanel <http://semantic-forms.cc:9112/display?displayuri=http://jmvanel.free.fr/jmv.rdf%23me> +33 (0)6 89 16 29 52 > >>>>> Réseau social http://semantic-forms.cc:1952/ > >

Re: Memory increase in TDB 1 incremental load

2020-09-03 Thread Jean-Marc Vanel
it's LRU). > Are there some indicators in the API to print for a TDB dashboard ? Is there already a doc. article about tuning TDB and the JVM ? I'll definitely try TDB2 > > >> Jean-Marc Vanel > >>> +33 (0)6 89 16 29 52 > >>> Réseau social http://semantic-forms.cc:1952/ >

Re: Memory increase in TDB 1 incremental load

2020-09-03 Thread Jean-Marc Vanel
Le mer. 2 sept. 2020 à 23:39, Andy Seaborne a écrit : > On 02/09/2020 17:03, Jean-Marc Vanel wrote: > > To load a big Turtle without stopping my (non Fuseki) server, I did an > HTTP > > client that sends the triples, about 3_000_000 (300_000 subjects), by > chun

Memory increase in TDB 1 incremental load

2020-09-02 Thread Jean-Marc Vanel
saction.isInTransaction(DatasetGraphTransaction.java:233) at org.apache.jena.sparql.core.DatasetImpl.isInTransaction(DatasetImpl.java:146) Would it be a use case for moving to TDB2? I should look at what tdbloader does ... Jean-Marc Vanel +33 (0)6 89 16 29 52 Réseau social http://semantic-forms.cc:1952/

Re: Federated update query with SERVICE Wikidata : no change in TDB (1)

2020-07-20 Thread Jean-Marc Vanel
with dbPedia.org ... Last time I tried that it failed because of dbPedia.org . Jean-Marc Vanel <http://semantic-forms.cc:9112/display?displayuri=http://jmvanel.free.fr/jmv.rdf%23me> +33 (0)6 89 16 29 52 Le lun. 20 juil. 2020 à 13:23, Andy Seaborne a écrit : > Works for me. > > N

Federated update query with SERVICE Wikidata : no change in TDB (1)

2020-07-20 Thread Jean-Marc Vanel
d with a more ordinary graph ( fictitious ) URI : < http://alignments.taxref.org> Jean-Marc Vanel <http://semantic-forms.cc:9112/display?displayuri=http://jmvanel.free.fr/jmv.rdf%23me> +33 (0)6 89 16 29 52 Twitter: @jmvanel , @jmvanel_fr ; chat: irc://irc.freenode.net#eulergui Chr

Re: Check a plain literal by API

2020-06-19 Thread Jean-Marc Vanel
Indeed I made a confusion between the actual literal content (unrestricted) and the Turtle representation of it. Jean-Marc Vanel <http://semantic-forms.cc:9112/display?displayuri=http://jmvanel.free.fr/jmv.rdf%23me> +33 (0)6 89 16 29 52 Le jeu. 18 juin 2020 à 13:36, Andy Seaborne a

Check a plain literal by API

2020-06-18 Thread Jean-Marc Vanel
Literals can have annoying errors like "Illegal escape sequence value" . These errors create exceptions by Turtle parser. But the API does not check anything: NodeFactory.createLiteral("ggg\\http://semantic-forms.cc:9112/display?displayuri=http://jmvanel.free.fr/jmv.rdf%23me> +33 (0)6 89 16 29 52

Re: slow loading in TDB with Lucene

2020-06-17 Thread Jean-Marc Vanel
the TDB, although it has been specified at text index creation: TextDatasetFactory.create(... closeIndexOnDSGClose = true) - using the GUI Luke in lucene-8.5.2 is useful to inspect Lucene index Jean-Marc Vanel <http://semantic-forms.cc:9112/display?displayuri=http://jmvanel.fr

slow loading in TDB with Lucene

2020-06-04 Thread Jean-Marc Vanel
; ; taxrefprop:hasSynonym<http://taxref.mnhn.fr/lod/name/633029> , <http://taxref.mnhn.fr/lod/name/637984> , < http://taxref.mnhn.fr/lod/name/634312> ; foaf:homepage < https://inpn.mnhn.fr/espece/cd_nom/629656?lg=en> . Jean-Marc Vanel <http:/

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

2020-05-02 Thread Jean-Marc Vanel
OK, Saw https://issues.apache.org/jira/plugins/servlet/mobile#issue/JENA-1890 Fine and fixed !:) Any idea of a new release date ? 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 > &

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

2020-05-02 Thread Jean-Marc Vanel
t;http://uri> <http://prop> <http://Victor_Hugo>) The test is here: https://github.com/jmvanel/semantic_forms/blob/master/scala/forms/src/test/TestGraphIRI.java#L18 With TDB 1 , Jena version = "3.14.0" ; non existing database before test. Jean-Marc Vanel <http://semantic-forms.c

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

2020-04-25 Thread Jean-Marc Vanel
As was stated by Andy, this is not a parsing issue. riot is not reporting anything, nor rapper <http://librdf.org/raptor/rapper.html> . This is an issue with how TDB renders the URI once it has been stored in TDB. Jean-Marc Vanel <http://semantic-forms.cc:9112/display?displa

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

2020-04-24 Thread Jean-Marc Vanel
Le ven. 24 avr. 2020 à 22:17, Andy Seaborne a écrit : > > 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/resour

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

2020-04-24 Thread Jean-Marc Vanel
ainMethod(CmdMain.java:93) at jena.cmd.CmdMain.mainRun(CmdMain.java:58) at jena.cmd.CmdMain.mainRun(CmdMain.java:45) at tdb.tdbquery.main(tdbquery.java:33) NOTE : no problem with apache-jena-3.10.0-SNAPSHOT !? Jean-Marc Vanel <http://semantic-forms.cc:9112/display?displayuri=http://jmvanel.free.fr/jmv.rd

Re: TDB blocked

2020-03-26 Thread Jean-Marc Vanel
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

Re: TDB blocked

2020-03-25 Thread Jean-Marc Vanel
eTask.run() line: 266 ThreadPoolExecutor.runWorker(ThreadPoolExecutor$Worker) line: 1149 ThreadPoolExecutor$Worker.run() line: 624 Thread.run() line: 748 = > Andy > > > On 25/03/2020 11:08, Jean-Marc Vanel wrote: > > I investigated on that. > > Now my test suite

Re: TDB blocked

2020-03-25 Thread Jean-Marc Vanel
and an explicit Jena TDB message appears, but not this time. Jean-Marc Vanel <http://semantic-forms.cc:9112/display?displayuri=http://jmvanel.free.fr/jmv.rdf%23me> +33 (0)6 89 16 29 52 Twitter: @jmvanel , @jmvanel_fr ; chat: irc://irc.freenode.net#eulergui Chroniques jardin <http:/

TDB blocked

2020-03-24 Thread Jean-Marc Vanel
(ReadWrite) line: 122 JenaDatasetStore.$anonfun$rw$1(Dataset, Function0) line: 23 Jean-Marc Vanel <http://semantic-forms.cc:9112/display?displayuri=http://jmvanel.free.fr/jmv.rdf%23me> +33 (0)6 89 16 29 52 Twitter: @jmvanel , @jmvanel_fr ; chat: irc://irc.freenode.net#eulergui Chroniques j

Re: Storing a lot of strings in TDB store

2019-02-15 Thread Jean-Marc Vanel
t property like http://xmlns.com/foaf/0.1/based_near I understand that you have a database of Vcard stuff, but one must keep in mind that Semantic Web is all about creating links, filling strings is secondary. And then there is no trouble with string at all :) . Jean-Marc Vanel <http://16

Re: CSV to rdf

2019-02-14 Thread Jean-Marc Vanel
I use my tool , based on Jena and Any23 : https://github.com/jmvanel/semantic_forms/blob/master/doc/en/administration.md#semantize-raw-stuff I you have questions or troubles, mail me privately , I'm willing to enhance the doc or the code, and making a pre-release . Jean-Marc Vanel <h

Re: jena-csv

2019-01-15 Thread Jean-Marc Vanel
Not knowing that Jena-csv existed, I developed an extension to Any23, adding features for CSV. I use it, and there is documentation: https://github.com/jmvanel/semantic_forms/wiki/Semantization#step-1-direct-mappping Le lun. 14 janv. 2019 17:21, Andy Seaborne a écrit : > The project can't

Re: Build by program a Dataset that is both textual and spatial

2018-12-23 Thread Jean-Marc Vanel
ithub.com/jmvanel/semantic_forms/blob/master/scala/jena.spatial%2Btext4.assembler.ttl> jena.spatial+text5.assembler.ttl <https://github.com/jmvanel/semantic_forms/blob/master/scala/jena.spatial%2Btext5.assembler.ttl> > Cheers! > Bruno > > > > >

Re: Build by program a Dataset that is both textual and spatial

2018-12-23 Thread Jean-Marc Vanel
eral problem. I can imagine other kinds of indexes that > people might want to use (image indexes, timeseries representations) and > our basic SPI should be able to support using multiple kinds of special > indexes... > > ajs6f > > > On Dec 23, 2018, at 9:37 AM, Jea

Re: Build by program a Dataset that is both textual and spatial

2018-12-23 Thread Jean-Marc Vanel
of preceding mail. I wonder if new GeoSPARQL implementation will be compatible with textual indexing . Le dim. 23 déc. 2018 à 11:53, Jean-Marc Vanel a écrit : > Thanks Bruno for sharing your trials; alas you're not further than I. > Using gist.github.com is indeed better than the regul

Re: Build by program a Dataset that is both textual and spatial

2018-12-23 Thread Jean-Marc Vanel
t; > ps: Lucene locks its indexes, so I **guess** if you tried a different > approach of having another Fuseki pointing to the same directory, it would > probably raise an exception at some point > > > > > From: Jean-Marc Vanel > To: Jen

Re: Retiring Jena modules

2018-12-21 Thread Jean-Marc Vanel
lable for use). > - existing jena-spatial property functions for GeoSPARQL and WGS84. > > Any comments welcome. > > Thanks, > > Greg > > On 21/12/2018 10:56, Jean-Marc Vanel wrote: > > I hope it will not remove support for old and widespread vocabulary > > http:

Re: Retiring Jena modules

2018-12-21 Thread Jean-Marc Vanel
> > on behalf of the Jena dev team. > > This message may contain information that is not intended for you. If > you are not the addressee or if this message was sent to you by mistake, > you are requested to inform the sender and delete the message. TNO accepts > no liability

Re: Build by program a Dataset that is both textual and spatial

2018-12-21 Thread Jean-Marc Vanel
nto Fuseki code. NOTE: the error message "*tried context and as a text-enabled dataset*" maybe hints at a solution, but the word "context" is not clear. Le lun. 17 déc. 2018 à 14:51, Jean-Marc Vanel a écrit : > > > Le lun. 17 déc. 2018 à 13:24, Andy Seabor

Re: Build by program a Dataset that is both textual and spatial

2018-12-17 Thread Jean-Marc Vanel
?place rdfs:label ?placeName FILTER( LANG( ?placeName) = 'en' ) } LIMIT 111 Data: the 2600 dboGarden in dbPedia endpoint. > Andy > > On 16/12/2018 16:41, Jean-Marc Vanel wrote: > > Sorry , I sent a bad link on the list, my assembler file is really this: > > > https://githu

Re: Build by program a Dataset that is both textual and spatial

2018-12-16 Thread Jean-Marc Vanel
n, Dec 16, 2018 at 12:08 PM Jean-Marc Vanel > > wrote: > > > Yes indeed, > > exactly with this assembler file: > > > > > https://github.com/jmvanel/semantic_forms/blob/master/scala/jena.spatial.assembler.ttl > > > > And, when the Jena based application

Re: Build by program a Dataset that is both textual and spatial

2018-12-16 Thread Jean-Marc Vanel
:18, Marco Neumann a écrit : > did you create the text index with jena.textindexer > --desc=//config.ttl? > > > On Sun, Dec 16, 2018 at 8:48 AM Jean-Marc Vanel > wrote: > > > I fixed a stupid error in text index URI, resulting from pasting, in new > > fil

Re: sparql 1.4 billion triples

2018-12-16 Thread Jean-Marc Vanel
Best wishes! > > > 胡云苹 > 浙江大学控制科学与工程学院 > 浙江省杭州市浙大路38号浙大玉泉校区CSC研究所 > Institute of Cyber-Systems and Control, College of Control Science and > Engineering, Zhejiang University, Hangzhou 310027,P.R.China > Email : y...@zju.edu.cn ;hyphy...@163.com > > -- Jean-Marc Van

Re: Build by program a Dataset that is both textual and spatial

2018-12-16 Thread Jean-Marc Vanel
text:TextDataset ; spatial:dataset <#dataset> ; spatial:index <#indexLucene> ; text:dataset <#dataset> ; text:index* <#indexLuceneText>* ; . But still it says "Failed to find the text index" . Le dim. 16 déc. 2018 à 09:34, Jean-Marc Va

Re: Build by program a Dataset that is both textual and spatial

2018-12-16 Thread Jean-Marc Vanel
what > the intervening years have done to make it more or less feasible. There > have been many changes to jena-text in that time and the new spatial module > is a whole new story. I'd put a link here but searching lists.apache.org > hasn't brought it up for me. > > ajs6f >

Re: Build by program a Dataset that is both textual and spatial

2018-12-15 Thread Jean-Marc Vanel
, is it good in terms of disk space and performance? Like this: <#indexLucene> a text:TextIndexLucene ; a spatial:SpatialIndexLucene ; # etc ... Le jeu. 13 déc. 2018 à 11:08, Jean-Marc Vanel a écrit : > Hi all > > After looking the documenta

Build by program a Dataset that is both textual and spatial

2018-12-13 Thread Jean-Marc Vanel
ed Dataset ? Is there a recommended order of creating the "augmented" Datasets, depending on data and usage ? Is there some loss of efficiency compared to using textual or spatial alone ? Happy Jenaing from Jean (Marc) ! -- Jean-Marc Vanel http://www.semantic-forms.cc:9111/display?displayuri=http://jmvanel.

Re: Re-Using the GEO Namespace Prefix

2018-12-12 Thread Jean-Marc Vanel
ke" at the > > time of OGC geosparql (Ed. Matthew Perry and John Herring Oracle) > > discussions. No need to perpetuate this change into the future here. > > > > What are your thoughts on this? > > > > > > > -- Jean-Marc Vanel http://www.semantic-forms.c

Data corruption problem with TDB

2018-10-28 Thread Jean-Marc Vanel
I draw yous attention on my message in Jira: https://issues.apache.org/jira/browse/JENA-1553 -- Jean-Marc Vanel http://www.semantic-forms.cc:9111/display?displayuri=http://jmvanel.free.fr/jmv.rdf%23me#subject <http://www.semantic-forms.cc:9111/display?displayuri=http://jmvanel.free.fr/jmv.

Lucene dependency could be upgraded

2018-10-24 Thread Jean-Marc Vanel
-Marc Vanel http://www.semantic-forms.cc:9111/display?displayuri=http://jmvanel.free.fr/jmv.rdf%23me#subject <http://www.semantic-forms.cc:9111/display?displayuri=http://jmvanel.free.fr/jmv.rdf%23me> Rule-based programming, Semantic Web +33 (0)6 89 16 29 52 Twitter: @jmvanel , @jmvanel_fr ; cha

Re: How we store date after shutdowning fuseki server

2018-07-04 Thread Jean-Marc Vanel
t; UpdateProcessor upp = > UpdateExecutionFactory.createRemote(UpdateFactory.create(String.format( > EngineConstants.SPARQL_PREFIX+updateCommand > , id)),datasetUrl ); > upp.execute(); > } > > > And i need to save all modifications , so ho can i do it ? > > thanks for yo

Re: [ANN] Apache Jena 3.8.0

2018-07-03 Thread Jean-Marc Vanel
Thanks for the release ! I tried it with semantic_forms : all tests pass ! Note, this implies that TDB file format did not change. I'l test TDB2 again and let you know. -- Jean-Marc Vanel http://www.semantic-forms.cc:9111/display?displayuri=http:// jmvanel.free.fr/jmv.rdf%23me#subject <h

Re: [ANN] Apache Jena 3.8.0

2018-07-02 Thread Jean-Marc Vanel
inputs and outputs > > Is this transparent to the user, or is something that I can request for > every query? > -- Jean-Marc Vanel http://www.semantic-forms.cc:9111/display?displayuri=http://jmvanel.free.fr/jmv.rdf%23me#subject <http://www.semantic-forms.cc:9111/display?displayuri=ht

Re: Retrieving SPARQL-results xml using curl

2018-06-28 Thread Jean-Marc Vanel
t > syntax that I have seen on forums looks like the same... > > > Do you have an idea of what I am doing wrong? > > > Regards, > > > Brice > > > [1] there is a huge progress between TDB1 and TDB2 (also fuseki 1 and 2). > Thanks a lot to the community

Re: RIOT filter to remove bad triples

2018-04-27 Thread Jean-Marc Vanel
read next triple > 2. if logically correct, append to output >if logically incorrect, do not append to output > -- Jean-Marc Vanel http://www.semantic-forms.cc:9111/display?displayuri=http://jmvanel.free.fr/jmv.rdf%23me#subject <http://www.semantic-forms.cc:9111/display?displayuri=http

Re: Fuseki service vs. webapp

2018-04-27 Thread Jean-Marc Vanel
emantic_forms is GPL v3. > > Maybe add a LICENSE file and a NOTICE file to the repository and not rely > on README. > > Andy > > On 26/04/18 13:56, Jean-Marc Vanel wrote: > >> Hi Sorin, >> >> you might want to try semantic_forms, >> another SPARQ

Re: Fuseki service vs. webapp

2018-04-26 Thread Jean-Marc Vanel
a Web Application handles better > the client connections. > > Regards, > Sorin > > > -- Jean-Marc Vanel http://www.semantic-forms.cc:9111/display?displayuri=http://jmvanel.free.fr/jmv.rdf%23me#subject <http://www.semantic-forms.cc:9111/display?displayuri=http://jmvanel

Re: Apache Jena installation issues with JENAROOT (on Mac)

2018-04-24 Thread Jean-Marc Vanel
bol > > > Model model = ModelFactory.createDefaultModel(); > > > ^ > > > symbol: class Model > > > location: class Tutorial01 > > > Tutorial01.java:34: error: cannot find symbol > > > Model model = ModelFactory.createD

Re: Towards Jena 3.7.0

2018-04-02 Thread Jean-Marc Vanel
welcome! > > For discussion and background see > > [A] http://blog.joda.org/2017/05/java-se-9-jpms-automatic-modules.html > [B] http://blog.joda.org/2017/04/java-se-9-jpms-module-naming.html > > And note: Java 9 is obsolete March 2018, as soon as Java10 comes out. > http://open

Re: Vocabularies for actions

2018-03-17 Thread Jean-Marc Vanel
y to describe an "action to be performed" by a machine > such as "create new by " or "add to " or > "fork to "? > > Thanks. > -- Jean-Marc Vanel http://www.semantic-forms.cc:9111/display?displayuri=http://jmvanel.free.fr/jmv.rdf%23me#subje

FILTER (CONTAINS on a graph name : should order matter ?

2018-03-12 Thread Jean-Marc Vanel
aph ?thing { [] ?p ?O . FILTER (CONTAINS( str(?thing),"cartopair")) } } -- Jean-Marc Vanel http://www.semantic-forms.cc:9111/display?displayuri=http://jmvanel.free.fr/jmv.rdf%23me#subject <http://www.semantic-forms.cc:9111/display?displayuri=http://jmvan

Re: Recursive SPARQL ( aka arbitrary length path ) : performance

2018-02-12 Thread Jean-Marc Vanel
aph ?grCount { ?thing form:linksCount ?COUNT. } } } ORDER BY DESC(?COUNT) LIMIT 10 2018-02-08 16:19 GMT+01:00 Andy Seaborne <a...@apache.org>: > > > On 08/02/18 08:39, Jean-Marc Vanel wrote: > >> Hi >> >> I wonder about performance of arbitrary length

Recursive SPARQL ( aka arbitrary length path ) : performance

2018-02-08 Thread Jean-Marc Vanel
BY DESC(?COUNT) LIMIT 10 -- Jean-Marc Vanel http://www.semantic-forms.cc:9111/display?displayuri=http://jmvanel.free.fr/jmv.rdf%23me#subject <http://www.semantic-forms.cc:9111/display?displayuri=http://jmvanel.free.fr/jmv.rdf%23me> Déductions SARL - Consulting, services, training, Rule-based prog

end() called for WRITE transaction without commit or abort having been called ; THEN "Impossibly large object"

2018-02-08 Thread Jean-Marc Vanel
serActions$class.makeTableHistoryUserActions(DashboardHistoryUserActions.scala:92) ~[classes/:?] -- Jean-Marc Vanel http://www.semantic-forms.cc:9111/display?displayuri=http://jmvanel.free.fr/jmv.rdf%23me#subject <http://www.semantic-forms.cc:9111/display?displayuri=http://jmvanel.free.fr

Re: SPARQL: binding to a graph URI results in NullPointerException

2018-02-07 Thread Jean-Marc Vanel
if you want binary TDB files . -- Jean-Marc Vanel http://www.semantic-forms.cc:9111/display?displayuri=http://jmvanel.free.fr/jmv.rdf%23me#subject <http://www.semantic-forms.cc:9111/display?displayuri=http://jmvanel.free.fr/jmv.rdf%23me> Déductions SARL - Consulting, services, training, Rule

Re: Extending Sparql with New Keywords

2018-02-07 Thread Jean-Marc Vanel
I would like to extend the sparql 1.1 > grammar > > with some new keywords. Could you please help me what would be > the > > best way > > to start with? > > > > - As I understood, the grammar is generated by javaCC but I was >

Re: SPARQL: binding to a graph URI results in NullPointerException

2018-02-06 Thread Jean-Marc Vanel
> (that said, tracing down and eliminating all other possible routes back > isn't simple so I might have missed another route) > > Andy > > > On 06/02/18 14:24, Andy Seaborne wrote: > >> Can you dump the database? >> >> >> On 06/02/18 10:32, Jean-

Re: SPARQL: binding to a graph URI results in NullPointerException

2018-02-06 Thread Jean-Marc Vanel
, everything is well again . Answers interleaved below. 2018-02-06 15:24 GMT+01:00 Andy Seaborne <a...@apache.org>: > Can you dump the database? > I put it here: http://jmvanel.free.fr/tmp/dump2.nq.zip I has been checked by rapper . > On 06/02/18 10:32, Jean-Marc Vane

SPARQL: binding to a graph URI results in NullPointerException

2018-02-06 Thread Jean-Marc Vanel
s$$anonfun$sparqlSelectQueryVariablesNT$1.apply(SPARQLHelpers.scala:426) -- Jean-Marc Vanel http://www.semantic-forms.cc:9111/display?displayuri=http://jmvanel.free.fr/jmv.rdf%23me#subject <http://www.semantic-forms.cc:9111/display?displayuri=http://jmvanel.free.fr/jmv.rdf%23me> Déductions SARL - Cons

  1   2   3   >