我想在我的 Jena Fuseki 服务器上构建空间索引。我尝试在这里关注文档:https ://jena.apache.org/documentation/query/spatial-query.html
但是当我重新启动我的服务器时,我有这个:
[2018-05-24 17:05:03] 服务器信息 Apache Jena Fuseki 3.7.0 [2018-05-24 17:05:03] 配置信息 FUSEKI_HOME=C:\Users\i3mainz\Desktop\JenaFusekiProject\apache-jena -fuseki-3.7.0。[2018-05-24 17:05:03] 配置信息 FUSEKI_BASE=C:\Users\i3mainz\Desktop\JenaFusekiProject\apache-jena-fuseki-3.7.0\run [2018-05-24 17:05:03]配置信息 Shiro 文件:file://C:\Users\i3mainz\Desktop\JenaFusekiProject\apache-jena-fuseki-3.7.0\run\shiro.ini [2018-05-24 17:05:04] 配置信息配置文件:C:\Users\i3mainz\Desktop\JenaFusekiProject\apache-jena-fuseki-3.7.0\run\config.ttl [2018-05-24 17:05:04] riot WARN [line: 32, col: 1 ] Bad IRI: Code: 4/UNWISE_CHARACTER in PATH: 该字符不匹配 URIs/IRI 的语法规则。这些字符在 RDF URI References、XML 系统标识符和 XML Schema anyURIs 中是允许的。
我真的不明白我错在哪里。
这是我的配置:
# Licensed under the terms of http://www.apache.org/licenses/LICENSE-2.0
## Fuseki Server configuration file.
@prefix : <http://base/#> .
@prefix fuseki: <http://jena.apache.org/fuseki#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix ja: <http://jena.hpl.hp.com/2005/11/Assembler#> .
[] rdf:type fuseki:Server ;
# Example::
# Server-wide query timeout.
#
# Timeout - server-wide default: milliseconds.
# Format 1: "1000" -- 1 second timeout
# Format 2: "10000,60000" -- 10s timeout to first result,
# then 60s timeout for the rest of query.
#
# See javadoc for ARQ.queryTimeout for details.
# This can also be set on a per dataset basis in the dataset assembler.
#
# ja:context [ ja:cxtName "arq:queryTimeout" ; ja:cxtValue "30000" ] ;
# Add any custom classes you want to load.
# Must have a "public static void init()" method.
# ja:loadClass "your.code.Class" ;
# End triples.
.
<#service_spatial_tdb> rdf:type fuseki:Service ;
rdfs:label "TDB/spatial service" ;
fuseki:name "ds" ;
fuseki:serviceQuery "query" ;
fuseki:serviceQuery "sparql" ;
fuseki:serviceUpdate "update" ;
fuseki:serviceUpload "upload" ;
fuseki:serviceReadGraphStore "get" ;
fuseki:serviceReadWriteGraphStore "data" ;
fuseki:dataset :spatial_dataset ;
有人能帮我吗 ?