The URIs that are used in the templates are the URIs that are specified by the
RepositoryConfigandSailConfigclasses of RDF4J’s repository configuration mechanism. The relevant namespaces and URIs can be found in the javadoc of these classes.
@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 ns: <http://www.openrdf.org/config/sail/native#>.@prefix lucene: <http://www.openrdf.org/config/sail/lucene#>.
[] a rep:Repository ; rep:repositoryID "{%Repository ID|lucene%}" ; rdfs:label "{%Repository title|Lucene indexed native store%}" ; rep:repositoryImpl [ rep:repositoryType "openrdf:SailRepository" ; sr:sailImpl [ sail:sailType "openrdf:LuceneSail" ; lucene:indexedfields """ """ ; sail:delegate [ sail:sailType "openrdf:NativeStore" ; ns:tripleIndexes "spoc,posc,opsc"; ] ; ] ].
@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 ns: <http://www.openrdf.org/config/sail/native#>.@prefix lucene: <http://www.openrdf.org/config/sail/lucene#>.
[] a rep:Repository ; rep:repositoryID "{%Repository ID|lucene%}" ; rdfs:label "{%Repository title|Lucene indexed native store%}" ; rep:repositoryImpl [ rep:repositoryType "openrdf:SailRepository" ; sr:sailImpl [ sail:sailType "openrdf:LuceneSail" ; lucene:indexedfields """{%Indexed Fields%}""" ; sail:delegate [ sail:sailType "openrdf:NativeStore" ; ns:tripleIndexes "spoc,posc,opsc"; ] ; ] ].create lucenelucene:indexDir "/whatever/you/like" ;
--
You received this message because you are subscribed to the Google Groups "RDF4J Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rdf4j-users...@googlegroups.com.
To post to this group, send email to rdf4j...@googlegroups.com.
Visit this group at https://groups.google.com/group/rdf4j-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/rdf4j-users/e553d2d7-fc19-43ab-9f53-5be7d32e5339%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.