You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@jena.apache.org by George News <ge...@gmx.net> on 2018/03/19 15:37:29 UTC
Fuseki configuration change suggestion
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
Re: Fuseki configuration change suggestion
Posted by Andy Seaborne <an...@apache.org>.
Makes sense - could you raise a JIRA ticket for this please?
On 19/03/18 15:37, George News wrote:
> 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
>
>
>
>
>