##Fuseki minimal full text search
See the Jena text query docs for full explanation. This is a minimal sample config for setting up full text search for an existing Fuseki TDB.
###indexing Indexing an existing loaded TB with:
java -cp fuseki-server.jar jena.textindexer --desc=./fuseki-fulltext-config.ttl
###sample query
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX afn: <http://jena.hpl.hp.com/ARQ/function#>
PREFIX text: <http://jena.apache.org/text#>
PREFIX hub: <http://library.brown.edu/ontology/hub>
PREFIX schema: <http://schema.org/>
SELECT ?s ?label ?viaf ?auth
{ ?s text:query (rdfs:label 'mccauley' 25) ;
rdfs:label ?label ;
rdf:type ?type ;
hub:viaf ?viaf .
BIND(afn:localname(?s) as ?auth)
}
Can you provide me a sample video demo to do text indexing in fuseki using WAR file in tomcat for sample data , When we are trying to load the data it shows zero triples and SPARQL response is not as expected.