#
# Sesame configuration template for a native repository with
# RDFS support and a SPIN reasoner 
#
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#>.
@prefix rep: <http://www.openrdf.org/config/repository#>.
@prefix sr: <http://www.openrdf.org/config/repository/sail#>.
@prefix sail: <http://www.openrdf.org/config/sail#>.
@prefix spin: <http://www.openrdf.org/config/sail/spin#>.
@prefix cgqi: <http://www.openrdf.org/config/sail/customGraphQueryInferencer#>.
@prefix ns: <http://www.openrdf.org/config/sail/native#>.
@prefix sp: <http://spinrdf.org/sp#>.
@prefix sb: <http://www.openrdf.org/config/sail/base#>.


[] a rep:Repository ;
   rep:repositoryID "{%Repository ID|native-spin-rdfs%}" ;
   rdfs:label "{%Repository title|Native store with RDFS and full SPIN support%}" ;
   rep:repositoryImpl [
      rep:repositoryType "openrdf:SailRepository" ;
      sr:sailImpl [
         sail:sailType "openrdf:SpinSail" ;
         spin:axiomClosureNeeded false ;
         sail:delegate [
			 sail:sailType "rdf4j:SchemaCachingRDFSInferencer" ;
			 sail:delegate [
			 	 sail:sailType "openrdf:DedupingInferencer" ;
				 sail:delegate [
					sail:sailType "openrdf:NativeStore" ;
					sail:iterationCacheSyncThreshold "{%Query Iteration Cache sync threshold|10000%}";
         			ns:tripleIndexes "{%Triple indexes|spoc,posc%}";
         			sb:evaluationStrategyFactory "{%EvaluationStrategyFactory|org.eclipse.rdf4j.query.algebra.evaluation.impl.StrictEvaluationStrategyFactory%}"
				 ]
		 ]
      ]
   ]
].
