我正在尝试使用tdbload2
v1.3.6命令插入几个ttl文件。在安装过程中,我收到以下错误;我该怎么做才能解决它?
org.apache.jena.riot.RiotException: [line: 1306503, col: 56] illegal escape sequence value: n (0x6E)
at org.apache.jena.riot.system.ErrorHandlerFactory$ErrorHandlerStd.fatal(ErrorHandlerFactory.java:132)
at org.apache.jena.riot.lang.LangEngine.raiseException(LangEngine.java:169)
at org.apache.jena.riot.lang.LangEngine.nextToken(LangEngine.java:116)
at org.apache.jena.riot.lang.LangTurtleBase.predicateObjectItem(LangTurtleBase.java:299)
at org.apache.jena.riot.lang.LangTurtleBase.predicateObjectList(LangTurtleBase.java:280)
at org.apache.jena.riot.lang.LangTurtleBase.triples(LangTurtleBase.java:271)
at org.apache.jena.riot.lang.LangTurtleBase.triplesSameSubject(LangTurtleBase.java:210)
at org.apache.jena.riot.lang.LangTurtle.oneTopLevelElement(LangTurtle.java:47)
at org.apache.jena.riot.lang.LangTurtleBase.runParser(LangTurtleBase.java:110)
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)
答案 0 :(得分:1)
哪个版本?它有助于对齐行号。
检查第1306503行并查看其内容。我猜URI中有一个\ n。