The file is called "jena_assembler.ttl" on my machine. I had to rename it to 
.txt so the mailing list attachment filter wouldn't remove it. I am getting the 
error that I attached earlier when executing this from the command line:

java -cp %FUSEKI_HOME%\fuseki-server.jar jena.textindexer 
--desc=C:\Development\Ontology\jena_assembler.ttl

-Wolfgang

 

 



 

 

-----Original Message-----
From: Chris Dollin <[email protected]>
To: users <[email protected]>
Sent: Wed, Oct 23, 2013 1:33 pm
Subject: Re: Re: Jena Text Lucene Assembler file questions


On Tuesday, October 22, 2013 05:57:21 PM [email protected] wrote:
> Seems it does not like the file extension. Renaming it now. Sorry for the 
amount of mails.

When Jena reads a file it uses the file suffix to guess what language
the file is in. If it doesn't know the suffix it defaults to RDF/XML. So
if you have Turtle text in, say, myturtle.txt and try to read it in without
telling Jena that it's Turtle, the RDF/XML parser will object. (I got
"content is not allowed in prolog"; that's the RDF/XML parser assuming
the non-XML text its seeing is Just Stuff that would be skipped over,
but that is Not Allowed.)

Chris

-- 
"The wizard seemed quite willing when I talked to him."  /Howl's Moving Castle/

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