Skip to content

Commit

Permalink
style: improve formatting of default configuration file
Browse files Browse the repository at this point in the history
  • Loading branch information
ludovicm67 committed Nov 17, 2023
1 parent a60b232 commit aa583ff
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 16 deletions.
5 changes: 5 additions & 0 deletions .changeset/fifty-dogs-occur.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"fuseki-geosparql": patch
---

Improve formatting of default configuration file
17 changes: 9 additions & 8 deletions config/config.ttl
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
@prefix : <#> .
@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#> .
@prefix tdb2: <http://jena.apache.org/2016/tdb#>
@prefix geosparql: <http://jena.apache.org/geosparql#>
@prefix : <#> .
@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#> .
@prefix tdb2: <http://jena.apache.org/2016/tdb#> .
@prefix geosparql: <http://jena.apache.org/geosparql#> .

[] rdf:type fuseki:Server ;
# Example::
Expand Down Expand Up @@ -36,7 +36,8 @@
fuseki:endpoint [ fuseki:operation fuseki:gsp-r ; ];
fuseki:endpoint [ fuseki:operation fuseki:gsp-r ; fuseki:name "get" ];

fuseki:dataset <#ds> .
fuseki:dataset <#ds> ;
.

<#ds> rdf:type geosparql:geosparqlDataset ;
geosparql:spatialIndexFile "databases/ds/spatial.index";
Expand Down
17 changes: 9 additions & 8 deletions tests/geosparql/config.ttl
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
@prefix : <#> .
@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#> .
@prefix tdb2: <http://jena.apache.org/2016/tdb#>
@prefix geosparql: <http://jena.apache.org/geosparql#>
@prefix : <#> .
@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#> .
@prefix tdb2: <http://jena.apache.org/2016/tdb#> .
@prefix geosparql: <http://jena.apache.org/geosparql#> .

[] rdf:type fuseki:Server ;
# Example::
Expand Down Expand Up @@ -36,7 +36,8 @@
fuseki:endpoint [ fuseki:operation fuseki:gsp-r ; ];
fuseki:endpoint [ fuseki:operation fuseki:gsp-r ; fuseki:name "get" ];

fuseki:dataset <#ds> .
fuseki:dataset <#ds> ;
.

<#ds> rdf:type geosparql:geosparqlDataset ;
geosparql:spatialIndexFile "spatial.index";
Expand Down

0 comments on commit aa583ff

Please sign in to comment.