On 22/09/13 15:41, Marco Neumann wrote:
had to rename the static *.owl files to *.rdf and now the bulk load
works just fine with tdbloader2 (apache-jena-2.11.0)
On Sun, Sep 22, 2013 at 10:08 AM, Marco Neumann <[email protected]> wrote:
get the following tdbloader2 exception now with all my RDF/XML files
on apache-jena-2.11.0
INFO Load: lotico.owl -- 2013/09/22 13:59:02 UTC
ERROR [line: 3, col: 1 ] Broken IRI (newline): rdf:RDF
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
org.apache.jena.riot.RiotException: [line: 3, col: 1 ] Broken IRI
(newline): rdf:RDF
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
at
org.apache.jena.riot.system.ErrorHandlerFactory$ErrorHandlerStd.fatal(ErrorHandlerFactory.java:136)
at
org.apache.jena.riot.lang.LangEngine.raiseException(LangEngine.java:163)
at org.apache.jena.riot.lang.LangEngine.nextToken(LangEngine.java:106)
at
org.apache.jena.riot.lang.LangNTriples.parseOne(LangNTriples.java:63)
at
org.apache.jena.riot.lang.LangNTriples.runParser(LangNTriples.java:54)
at org.apache.jena.riot.lang.LangBase.parse(LangBase.java:42)
at org.apache.jena.riot.RiotReader.parse(RiotReader.java:116)
at org.apache.jena.riot.RiotReader.parse(RiotReader.java:93)
at org.apache.jena.riot.RiotReader.parse(RiotReader.java:66)
at
com.hp.hpl.jena.tdb.store.bulkloader2.CmdNodeTableBuilder.exec(CmdNodeTableBuilder.java:163)
at arq.cmdline.CmdMain.mainMethod(CmdMain.java:101)
at arq.cmdline.CmdMain.mainRun(CmdMain.java:63)
at arq.cmdline.CmdMain.mainRun(CmdMain.java:50)
at
com.hp.hpl.jena.tdb.store.bulkloader2.CmdNodeTableBuilder.main(CmdNodeTableBuilder.java:81)
--
---
Marco Neumann
KONA
I'm happy to go with whatever is the community decision here - should
".owl" default to assuming RDF/XML?
There is no formal definition of ".owl". It is mentioned in OWL1 but not
in OWL2.
This came about from
http://mail-archives.apache.org/mod_mbox/jena-users/201308.mbox/%3C52169A5B.4060902%40knublauch.com%3E
but reviewing that it could be the initial analysis was wrong as the
report was expanded upon over several rounds of email.
Adding .owl in as a default extension to mean RDF/XML does not break any
of the tests.
Andy