Hi all,
I would like to make a suggestion for datasets configuration.
When you include a service (assembler, etc.) in run/configuration folder
this service is started on fuseki boot. In this sense, there is a folder
run/database that stores the databases created using the HTTP
administrative interface.
However when you include a .ttl file in run/configuration and the folder
for the tdb:location is not an absolute folder, the TDB is created
directly FUSEKI_HOME. However I guess it should be created under
run/databases. If you include an absolute path then it should be created
where indicated.
• Example 1 (current implementation and expected/desired behaviour)
$ cat /home/jlanza/projects/fuseki/run/configuration/jlanza.ttl
.......
<#tdb_dataset_readwrite> rdf:type tdb:DatasetTDB ;
tdb:location "/home/jlanza/mytdb" ;
tdb:unionDefaultGraph true ;
.
.......
$ cd /home/jlanza/projects/fuseki/
$ ./fuseki-server
$ ll /home/jlanza/
.....
mytdb
.....
• Example 2 (current implementation but a bit confusing as different
from the usage of templates)
$ cat /home/jlanza/projects/fuseki/run/configuration/jlanza.ttl
.......
<#tdb_dataset_readwrite> rdf:type tdb:DatasetTDB ;
tdb:location "mytdb" ;
tdb:unionDefaultGraph true ;
.
.......
$ cd /home/jlanza/projects/fuseki/
$ ./fuseki-server
$ ll /home/jlanza/projects/fuseki/
.....
mytdb
.....
• Example 3 (what I suggest as folder is relative to
FUSEKI_BASE/database, similarly to the templates behaviour)
$ cat /home/jlanza/projects/fuseki/run/configuration/jlanza.ttl
.......
<#tdb_dataset_readwrite> rdf:type tdb:DatasetTDB ;
tdb:location "mytdb" ;
tdb:unionDefaultGraph true ;
.
.......
$ cd /home/jlanza/projects/fuseki/
$ ./fuseki-server
$ ll /home/jlanza/projects/fuseki/run/databases
.....
mytdb
.....
Thanks
Jorge