Ok sorry just learning this configuration stuff. Changing that value didn't help.

Also tried giving the ttl file from command line parameter --config but same error. So something must be wrong with the config file.


On 16/01/2019 16:57, Vincent Ventresque wrote:
the relevant part is in the config file (pasted on the page) but I thought the links on the page could be useful too.

In the code I used I had to replace "<#dataset>" with ":tdb_dataset_readwrite||||



Le 16/01/2019 à 15:47, Mikael Pesonen a écrit :

Thanks for reply. Didn't find any info on fixed Uri on that page, it seemed to be about timeouts?

On 16/01/2019 15:07, Vincent Ventresque wrote:
Hello

I'm not sure if your problem is the same I had encountered when configuring Lucene, but you might have to modify the config file to set a fixed Uri for the dataset (see my question here : https://stackoverflow.com/questions/48318966/fuseki-config-for-2-datasets-text-index-how-to-use-turtle-files)







Le 16/01/2019 à 13:50, Mikael Pesonen a écrit :

Hi,

I'm trying to get text search work. Sparql REGEX takes few seconds to finish so hoping this would be faster. Application is term search using SKOS ontology.

 First tested if it's enabled by default

 ?concept text:query (skos:prefLabel "mdi") .
  ?concept skos:prefLabel ?prefLabel

That returns all concepts so I guess it's not enabled.

Then copied Text Dataset Assembler from https://jena.apache.org/documentation/query/text-query.html#configuration into apache-jena-fuseki-3.9.0/run/configuration
With that fuseki start fails:

Jan 16 14:40:03 semantic-dev java[17961]: [2019-01-16 14:40:03] WebAppContext WARN  Failed startup of context o.e.j.w.WebAppContext@4159e81b{Apache Jena Fuseki Server,/,file:///home/text/tools/apache-jena-fuseki-3.9.0/webapp/,UNAVAILABLE} Jan 16 14:40:03 semantic-dev java[17961]:         at org.apache.jena.fuseki.build.FusekiConfig.readAssemblerFile(FusekiConfig.java:148) Jan 16 14:40:03 semantic-dev java[17961]:         at org.apache.jena.fuseki.build.FusekiConfig.readConfigurationDirectory(FusekiConfig.java:178) Jan 16 14:40:03 semantic-dev java[17961]:         at org.apache.jena.fuseki.webapp.FusekiSystem.initializeDataAccessPoints(FusekiSystem.java:226) Jan 16 14:40:03 semantic-dev java[17961]:         at org.apache.jena.fuseki.webapp.FusekiServerListener.serverInitialization(FusekiServerListener.java:98) Jan 16 14:40:03 semantic-dev java[17961]:         at org.apache.jena.fuseki.webapp.FusekiServerListener.contextInitialized(FusekiServerListener.java:56) Jan 16 14:40:03 semantic-dev java[17961]:         at org.apache.jena.fuseki.cmd.JettyFuseki.start(JettyFuseki.java:138) Jan 16 14:40:03 semantic-dev java[17961]:         at org.apache.jena.fuseki.cmd.FusekiCmd.runFuseki(FusekiCmd.java:372) Jan 16 14:40:03 semantic-dev java[17961]:         at org.apache.jena.fuseki.cmd.FusekiCmd$FusekiCmdInner.exec(FusekiCmd.java:356) Jan 16 14:40:03 semantic-dev java[17961]:         at org.apache.jena.fuseki.cmd.FusekiCmd$FusekiCmdInner.innerMain(FusekiCmd.java:104) Jan 16 14:40:03 semantic-dev java[17961]:         at org.apache.jena.fuseki.cmd.FusekiCmd.main(FusekiCmd.java:67)

Otherwise all settings are default. Any tips what to try next?




--
Lingsoft - 30 years of Leading Language Management

www.lingsoft.fi

Speech Applications - Language Management - Translation - Reader's and Writer's 
Tools - Text Tools - E-books and M-books

Mikael Pesonen
System Engineer

e-mail: mikael.peso...@lingsoft.fi
Tel. +358 2 279 3300

Time zone: GMT+2

Helsinki Office
Eteläranta 10
FI-00130 Helsinki
FINLAND

Turku Office
Kauppiaskatu 5 A
FI-20100 Turku
FINLAND

Reply via email to