Skip to content

Commit a64bcd1

Browse files
authored
Merge pull request #22 from zazuko/ttl-format
Improve formatting of default configuration file
2 parents a60b232 + aa583ff commit a64bcd1

3 files changed

Lines changed: 23 additions & 16 deletions

File tree

.changeset/fifty-dogs-occur.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"fuseki-geosparql": patch
3+
---
4+
5+
Improve formatting of default configuration file

config/config.ttl

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
@prefix : <#> .
2-
@prefix fuseki: <http://jena.apache.org/fuseki#> .
3-
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
4-
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
5-
@prefix ja: <http://jena.hpl.hp.com/2005/11/Assembler#> .
6-
@prefix tdb2: <http://jena.apache.org/2016/tdb#>
7-
@prefix geosparql: <http://jena.apache.org/geosparql#>
1+
@prefix : <#> .
2+
@prefix fuseki: <http://jena.apache.org/fuseki#> .
3+
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
4+
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
5+
@prefix ja: <http://jena.hpl.hp.com/2005/11/Assembler#> .
6+
@prefix tdb2: <http://jena.apache.org/2016/tdb#> .
7+
@prefix geosparql: <http://jena.apache.org/geosparql#> .
88

99
[] rdf:type fuseki:Server ;
1010
# Example::
@@ -36,7 +36,8 @@
3636
fuseki:endpoint [ fuseki:operation fuseki:gsp-r ; ];
3737
fuseki:endpoint [ fuseki:operation fuseki:gsp-r ; fuseki:name "get" ];
3838

39-
fuseki:dataset <#ds> .
39+
fuseki:dataset <#ds> ;
40+
.
4041

4142
<#ds> rdf:type geosparql:geosparqlDataset ;
4243
geosparql:spatialIndexFile "databases/ds/spatial.index";

tests/geosparql/config.ttl

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
@prefix : <#> .
2-
@prefix fuseki: <http://jena.apache.org/fuseki#> .
3-
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
4-
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
5-
@prefix ja: <http://jena.hpl.hp.com/2005/11/Assembler#> .
6-
@prefix tdb2: <http://jena.apache.org/2016/tdb#>
7-
@prefix geosparql: <http://jena.apache.org/geosparql#>
1+
@prefix : <#> .
2+
@prefix fuseki: <http://jena.apache.org/fuseki#> .
3+
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
4+
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
5+
@prefix ja: <http://jena.hpl.hp.com/2005/11/Assembler#> .
6+
@prefix tdb2: <http://jena.apache.org/2016/tdb#> .
7+
@prefix geosparql: <http://jena.apache.org/geosparql#> .
88

99
[] rdf:type fuseki:Server ;
1010
# Example::
@@ -36,7 +36,8 @@
3636
fuseki:endpoint [ fuseki:operation fuseki:gsp-r ; ];
3737
fuseki:endpoint [ fuseki:operation fuseki:gsp-r ; fuseki:name "get" ];
3838

39-
fuseki:dataset <#ds> .
39+
fuseki:dataset <#ds> ;
40+
.
4041

4142
<#ds> rdf:type geosparql:geosparqlDataset ;
4243
geosparql:spatialIndexFile "spatial.index";

0 commit comments

Comments
 (0)