home » dokk/data.git
Author zPlus <zplus@peers.community> 2024-06-19 12:06:53
Committer zPlus <zplus@peers.community> 2024-06-19 12:06:53
Commit 9b62882 (patch)
Tree b5a27bc
Parent(s)

Remove jena/fuseki files. Files have been moved to the repository containing the dokk website.


commits diff: 8f87f18..9b62882
2 files changed, 0 insertions, 57 deletionsdownload


Diffstat
?--------- README.jena 20
?--------- fuseki.service 37

Diff options
View
Side
Whitespace
Context lines
Inter-hunk lines
+0/-20 D   README.jena
index 962939e..0000000
old size: 829B - new size: 0B
deleted file mode: -rw-r--r--
@@ -1,20 +0,0 @@
1 - This document contains some useful commands for creating a database of the DOKK
2 - data, that can be queried with SPARQL.
3 -
4 - Note: the tools used here are available for download at
5 - <https://jena.apache.org/download/#apache-jena-binary-distributions>
6 - Just download "apache-jena-<version>.tar.gz" and "apache-jena-fuseki-<version>.tar.gz"
7 -
8 - Create a database:
9 -
10 - tdb2.tdbloader --loc=database dokk/data/*.ttl
11 -
12 - Query from command line:
13 -
14 - tdb2.tdbquery --loc=database "select distinct ?s where { ?s ?p ?o } order by ?s limit 10"
15 -
16 - It's also possible to start a standalone server (Fuseki) that is queryable via
17 - HTTP. All you have to do is create the database first (with the above commands),
18 - and then start Fuseki. See "fuseki.service" for an example.
19 -
20 - JVM_ARGS="-Xmx8G" ./fuseki-server --loc=database --port=7000 /dokk

+0/-37 D   fuseki.service
index 3119875..0000000
old size: 1K - new size: 0B
deleted file mode: -rw-r--r--
@@ -1,37 +0,0 @@
1 - # This is an example service file for systemd. If using the Fuseki server, this
2 - # service can be configured to automatically start the server.
3 - #
4 - # How to use this file:
5 - # - copy this file to /etc/systemd/system
6 - # - edit the variables below accordingly
7 - # - systemctl enable fuseki.service
8 - # - systemctl start fuseki.service
9 -
10 - [Unit]
11 - Description=Fuseki server for DOKK
12 - After=network.target
13 -
14 - [Service]
15 - # Folder of the Fuseki installation files
16 - Environment=FUSEKI_HOME=/home/fuseki/fuseki-server
17 -
18 - # Fuseki runtime folder (will contain configuration files and other runtime files).
19 - Environment=FUSEKI_BASE=/home/fuseki/fuseki-run
20 -
21 - # Edit the line below to adjust the amount of memory allocated to Fuseki
22 - Environment=JVM_ARGS=-Xmx2G
23 -
24 - # Command for launching the Fuseki server
25 - ExecStart=/home/fuseki/fuseki-server/fuseki-server --loc=/home/fuseki/database --port=6000 --localhost /dokk
26 -
27 - User=fuseki
28 - Group=fuseki
29 - WorkingDirectory=/home/fuseki/fuseki-server
30 - Restart=always
31 -
32 - # Java processes exit with status 143 when terminated by SIGTERM, this
33 - # should be considered a successful shutdown
34 - SuccessExitStatus=143
35 -
36 - [Install]
37 - WantedBy=multi-user.target