Hi all,

I'm struggling with my setup of a Java application using Jena to connect to
a spatial dataset managed by Fuseki. Please find the configuration I use
within Fuseki in the attached mySpatialDataset.ttl file.

The command I use to run Fuseki is :

java -Xmx1200M -cp "fuseki-server.jar;jts-1.13.jar"
org.apache.jena.fuseki.cmd.FusekiCmd -debug %*

I uploaded the geoarq-data-1.ttl file with some data. Unfortunately my
query

PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX geoarq: <http://jena.apache.org/GeoARQ/property#>

SELECT ?airport {
    ?s geoarq:nearby (51.3000 -2.71000) .
    ?s rdfs:label ?airport .
}

does not return anything altough when running the dataset embedded in my
JVM without using Fuseki it is working fine. I can see the index is being
created in my
%FUSEKI_HOME%\run\configuration\Data\mySpatialDataset_spatial_index folder.

Could you have a look at it and help me out please?

The output of the startup process is the following which seems to be fine :

[2018-12-12 14:30:21] Server     INFO  Apache Jena Fuseki 3.9.0
[2018-12-12 14:30:22] Config     INFO
FUSEKI_HOME=D:\software\copyable\apache-jena-fuseki-3.9.0\.
[2018-12-12 14:30:22] Config     INFO
FUSEKI_BASE=D:\software\copyable\apache-jena-fuseki-3.9.0\run
[2018-12-12 14:30:22] Config     INFO  Shiro file:
file://D:\software\copyable\apache-jena-fuseki-3.9.0\run\shiro.ini
[2018-12-12 14:30:23] Config     INFO  Configuration file:
D:\software\copyable\apache-jena-fuseki-3.9.0\run\config.ttl
[2018-12-12 14:30:23] riot       WARN  [line: 5, col: 9 ] Bad IRI:
<D:\software\copyable\apache-jena-fuseki-3.9.0\run\config.ttl#> Code:
4/UNWISE_CHARACTER in PATH: The character matches no grammar rules of
URIs/IRIs. These characters are permitted in RDF URI References, XML system
identifiers, and XML Schema anyURIs.
[2018-12-12 14:30:23] Config     INFO  Load configuration:
file:///D:/software/copyable/apache-jena-fuseki-3.9.0/run/configuration/mySpatialDataset.ttl
[2018-12-12 14:30:23] Config     INFO  Register: /mySpatialDataset
[2018-12-12 14:30:23] Server     INFO  Apache Jena Fuseki
[2018-12-12 14:30:23] Server     INFO  Configuration file
D:\software\copyable\apache-jena-fuseki-3.9.0\run\config.ttl
[2018-12-12 14:30:23] Server     INFO  Path = /mySpatialDataset; Services =
[data, quads, upload, query, sparql, update, get]
[2018-12-12 14:30:23] Server     INFO    Fuseki: 3.9.0
[2018-12-12 14:30:23] Server     INFO    Java:   1.8.0_131
[2018-12-12 14:30:23] Server     INFO    Memory: max=1,0 GiB
[2018-12-12 14:30:23] Server     INFO    OS:     Windows 10 10.0 amd64
[2018-12-12 14:30:24] Server     INFO  Started 2018/12/12 14:30:24 CET on
port 3030

Reply via email to