On 02/02/2022 10:17, Erik Bijsterbosch wrote:
Hi Andy,

Good to know that the code loops through all the (named) graphs.
I noticed later in the logs that fuseki was still busy with the next
(named) graph, apparently.
It seems that that attempt failed on the type of geometry we have in this
graph:

[2022-02-02 09:32:27] WARN  system          :: The “SIS_DATA” environment
variable is not set.
[2022-02-02 09:32:28] WARN  system          :: The “SIS_DATA” environment
variable is not set.
Exception in thread "main"
org.apache.jena.dboe.transaction.txn.TransactionException: Write
transaction with no commit() or abort() before end() - forced abort
         at
org.apache.jena.dboe.transaction.txn.Transaction.end(Transaction.java:203)
         at
org.apache.jena.dboe.transaction.txn.TransactionalBase._end(TransactionalBase.java:262)
         at
org.apache.jena.dboe.transaction.txn.TransactionalBase.end(TransactionalBase.java:168)
         at
org.apache.jena.dboe.storage.system.DatasetGraphStorage.end(DatasetGraphStorage.java:73)
         at
org.apache.jena.sparql.core.DatasetGraphWrapper.end(DatasetGraphWrapper.java:284)
         at org.apache.jena.sparql.core.DatasetImpl.end(DatasetImpl.java:162)
         at
org.apache.jena.geosparql.configuration.GeoSPARQLOperations.applyInferencing(GeoSPARQLOperations.java:297)
         at
org.apache.jena.geosparql.configuration.GeoSPARQLOperations.applyInferencing(GeoSPARQLOperations.java:264)
         at
org.apache.jena.fuseki.geosparql.DatasetOperations.setup(DatasetOperations.java:83)
         at org.apache.jena.fuseki.geosparql.Main.main(Main.java:64)

Should be a log line: "Inferencing Error: ..." as well or there is a java Throwable/Error happening e.g. OutOfMemoryError.


For that we'll checkout the recommendations here first:
https://sis.apache.org/epsg.html


Op wo 2 feb. 2022 om 09:33 schreef Andy Seaborne <a...@apache.org>:



On 01/02/2022 17:13, Erik Bijsterbosch wrote:
Hi all,

I created a new jena tdb2 database and loaded it with 256 million triples
in a named graph, using a fuseki2/tdb2 4.3.2 docker setup.
The data also consist of geometries so I built a new docker image based
on
jena-fuseki-geosparql 4.3.2
When I bring up the new fuseki container it seems I can't address the
named
graph reusing the tdb2 database, it searches through the default graph.
According to the --help graph names can only be provided when loading
from
files or is there another way?


Hi Erik,

fuseki    | [2022-02-01 17:08:15] INFO  GeoSPARQLOperations :: GeoSPARQL
schema not applied to empty graph: default

That message is for the attempt the default graph but it does not mean
it is ignoring the named graphs. The code loops on the named graphs as
well.


https://github.com/apache/jena/blob/main/jena-geosparql/src/main/java/org/apache/jena/geosparql/configuration/GeoSPARQLOperations.java#L269

Is that what you mean by "can't address the named graph"?

Or from a SPARQL query you can't get expected results?

      Andy


Reply via email to