#
# 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 sail-luc: <http://www.openrdf.org/config/sail/lucene#>.
@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-lucene%}" ;
   rdfs:label "{%Repository title|Native store with Lucene Support%}" ;
   rep:repositoryImpl [
      rep:repositoryType "openrdf:SailRepository" ;
      sr:sailImpl [
            sail:sailType "openrdf:LuceneSail";
            sail-luc:indexDir "index/" ;
            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%}"
			]
        ]
].
