diff --git a/README.jena b/README.jena deleted file mode 100644 index 962939e..0000000 --- a/README.jena +++ /dev/null @@ -1,20 +0,0 @@ -This document contains some useful commands for creating a database of the DOKK -data, that can be queried with SPARQL. - -Note: the tools used here are available for download at - - Just download "apache-jena-.tar.gz" and "apache-jena-fuseki-.tar.gz" - -Create a database: - - tdb2.tdbloader --loc=database dokk/data/*.ttl - -Query from command line: - - tdb2.tdbquery --loc=database "select distinct ?s where { ?s ?p ?o } order by ?s limit 10" - -It's also possible to start a standalone server (Fuseki) that is queryable via -HTTP. All you have to do is create the database first (with the above commands), -and then start Fuseki. See "fuseki.service" for an example. - - JVM_ARGS="-Xmx8G" ./fuseki-server --loc=database --port=7000 /dokk diff --git a/fuseki.service b/fuseki.service deleted file mode 100644 index 3119875..0000000 --- a/fuseki.service +++ /dev/null @@ -1,37 +0,0 @@ -# This is an example service file for systemd. If using the Fuseki server, this -# service can be configured to automatically start the server. -# -# How to use this file: -# - copy this file to /etc/systemd/system -# - edit the variables below accordingly -# - systemctl enable fuseki.service -# - systemctl start fuseki.service - -[Unit] -Description=Fuseki server for DOKK -After=network.target - -[Service] -# Folder of the Fuseki installation files -Environment=FUSEKI_HOME=/home/fuseki/fuseki-server - -# Fuseki runtime folder (will contain configuration files and other runtime files). -Environment=FUSEKI_BASE=/home/fuseki/fuseki-run - -# Edit the line below to adjust the amount of memory allocated to Fuseki -Environment=JVM_ARGS=-Xmx2G - -# Command for launching the Fuseki server -ExecStart=/home/fuseki/fuseki-server/fuseki-server --loc=/home/fuseki/database --port=6000 --localhost /dokk - -User=fuseki -Group=fuseki -WorkingDirectory=/home/fuseki/fuseki-server -Restart=always - -# Java processes exit with status 143 when terminated by SIGTERM, this -# should be considered a successful shutdown -SuccessExitStatus=143 - -[Install] -WantedBy=multi-user.target