Dear All

I'm trying out the text search feature of Fuseki and am obviously
missing something.

A. Download Fuseki 1.0.0-SNAPSHOT
B. Unzip
C. cd into directory
D. ./fuseki-server --desc=config-tdb-text.ttl

BOOM.

15:37:13 INFO  Server               :: Dataset from assembler
com.hp.hpl.jena.sparql.ARQException: Found two matches: var ?root -> 
file:///home/chris/Fuseki/jena-fuseki-1.0.0-SNAPSHOT/config-tdb-text.ttl#text_dataset,
 
file:///home/chris/Fuseki/jena-fuseki-1.0.0-SNAPSHOT/config-tdb-text.ttl#dataset
        at 
com.hp.hpl.jena.sparql.util.QueryExecUtils.getOne(QueryExecUtils.java:372)
        at 
com.hp.hpl.jena.sparql.util.graph.GraphUtils.findRootByType(GraphUtils.java:191)
        at 
com.hp.hpl.jena.sparql.core.assembler.AssemblerUtils.build(AssemblerUtils.java:93)
        at arq.cmdline.ModAssembler.create(ModAssembler.java:68)
        at 
arq.cmdline.ModDatasetAssembler.createDataset(ModDatasetAssembler.java:43)
        at 
org.apache.jena.fuseki.FusekiCmd.processModulesAndArgs(FusekiCmd.java:272)
        at arq.cmdline.CmdArgModule.process(CmdArgModule.java:51)
        at arq.cmdline.CmdMain.mainMethod(CmdMain.java:100)
        at arq.cmdline.CmdMain.mainRun(CmdMain.java:63)
        at arq.cmdline.CmdMain.mainRun(CmdMain.java:50)
        at org.apache.jena.fuseki.FusekiCmd.main(FusekiCmd.java:140)

As far as I can see, this is becuse there are two datasets in the assembly
file and Fuseki wants a unique one. (I can't see a way of saying "use THAT
one".)

The obvious experiment of removing the non-text dataset from the assembly
produces (unsurprisingly) a different error: since the non-text dataset
(the object of the text datasets :dataset property) doesn't have a suitable 
(sub)type(of ja:Model), the assembler complains.

What is it that I haven't realised I should be doing?

Chris

(java version "1.7.0_25", OpenJDK, Fedora 18, if any of that matters.)

-- 
"It does not need to take events in their correct order."             /Hexwood/

Epimorphics Ltd, http://www.epimorphics.com
Registered address: Court Lodge, 105 High Street, Portishead, Bristol BS20 6PT
Epimorphics Ltd. is a limited company registered in England (number 7016688)

Reply via email to