Browse Source

Fixed Fuseki config (file was in the wrong place)

Joeri Exelmans 2 years ago
parent
commit
200e4fd2d6

+ 12 - 2
.gitignore

@@ -22,8 +22,18 @@ local.properties
 # Arek cruft
 tasks.py
 
-# Fuseki
-.fuseki
+# Fuseki - everything except .fuseki/run/shiro.ini:
+**/.fuseki/webapp/
+**/.fuseki/run/backups/
+**/.fuseki/run/configuration/
+**/.fuseki/run/databases/
+**/.fuseki/run/logs/
+**/.fuseki/run/system/
+**/.fuseki/run/system_files/
+**/.fuseki/run/templates/
+**/.fuseki/run/config.ttl
+fuseki.log
+fuseki.pid
 
 # JetBrains
 .idea

+ 3 - 2
examples/oml/SystemDesignOntology2Layers/.fuseki.ttl

@@ -2,6 +2,7 @@
 @prefix rdf:     <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
 @prefix rdfs:    <http://www.w3.org/2000/01/rdf-schema#> .
 @prefix tdb:     <http://jena.hpl.hp.com/2008/tdb#> .
+@prefix tdb2:    <http://jena.apache.org/2016/tdb#> .
 @prefix ja:      <http://jena.hpl.hp.com/2005/11/Assembler#> .
 @prefix :        <#> .
 
@@ -21,8 +22,8 @@
     fuseki:dataset      <#dataset> .
 
 # In memory TDB with union graph.
-<#dataset> rdf:type tdb:DatasetTDB ;
-    tdb:location "DB2" ;
+<#dataset> rdf:type tdb2:DatasetTDB2 ;
+    tdb2:location "run/databases/DB2" ;
     # Query timeout on this dataset (1s, 1000 milliseconds)
     ja:context [ ja:cxtName "arq:queryTimeout" ; ja:cxtValue "1000" ] ;
     # Make the default graph be the union of all named graphs.

examples/oml/SystemDesignOntology2Layers/shiro.ini → examples/oml/SystemDesignOntology2Layers/.fuseki/run/shiro.ini