@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 cgqi: <http://www.openrdf.org/config/sail/customGraphQueryInferencer#>.
@prefix spin: <http://www.openrdf.org/config/sail/spin#>.
@prefix sail-luc: <http://www.openrdf.org/config/sail/lucene#>.
@prefix ms: <http://www.openrdf.org/config/sail/memory#>.
@prefix sp: <http://spinrdf.org/sp#>.
@prefix sb: <http://www.openrdf.org/config/sail/base#>.


[] a rep:Repository ;
   rep:repositoryID "{%Repository ID|memory-spin-rdfs-lucene%}" ;
   rdfs:label "{%Repository title|Memory store with RDFS, SPIN and Lucene Support%}" ;
   rep:repositoryImpl [
	  rep:repositoryType "openrdf:SailRepository" ;
	  sr:sailImpl [
		  sail:sailType "openrdf:LuceneSpinSail";
		  sail-luc:indexDir "index/" ;
		  sail:delegate [
			  sail:sailType "openrdf:SpinSail" ;
			  spin:axiomClosureNeeded false ;
			  sail:delegate [
				     sail:sailType "rdf4j:SchemaCachingRDFSInferencer" ;
				     sail:delegate [
					     sail:sailType "openrdf:DedupingInferencer" ;
					     sail:delegate [
						    sail:sailType "openrdf:MemoryStore" ;
						    sail:iterationCacheSyncThreshold "{%Query Iteration Cache sync threshold|10000%}";
						    ms:persist {%Persist|true|false%} ;
						    ms:syncDelay {%Sync delay|0%};
						    sb:evaluationStrategyFactory "{%EvaluationStrategyFactory|org.eclipse.rdf4j.query.algebra.evaluation.impl.StrictEvaluationStrategyFactory%}"
					     ]
				    ]
		          ]
	          ]

	      ]

    ].
