Latest snapshot error loading trig data

2 views
Skip to first unread message

Andy

unread,
Jul 27, 2009, 2:15:55 PM7/27/09
to OpenAnzo
I just downloaded a new snapshot today (past 10 minutes) and tried
loading a trig file under Windows Vista. Anzo reported the following
error:

anzo create datasets\LDA-example.trig
Error loading RDF Input: D:\openanzo-3.1.0\datasets\LDA-example.trig
Error parsing RDF with format:application/x-trig Root Cause:
org.openrdf.rio.RDF
ParseException Expected ':', found '
' [line 2]

So I start removing data from the trig file until I got back to two
lines. The first line was a blank line and the second was a comment:

# Namespace prefixes and URIs for Web based ontologies.

This two line file still got the same error. So I'm thinking that
this isn't really an issue with my trig file since there isn't a colon
in it...

Andy

unread,
Jul 27, 2009, 2:27:54 PM7/27/09
to OpenAnzo
I think I might have found the issue. It seems that if the trig file
has a UTF-8 BOM, then this error is generated.

Lee Feigenbaum

unread,
Jul 27, 2009, 2:38:47 PM7/27/09
to open...@googlegroups.com
The error is saying the parser is expecting a colon, not that a colon
caused the problem. It seems to be saying that a newline is causing the
problem.

The parsers haven't changed in ages, so I'm doubting that's the problem.
Can you mail me (off list) the file in question and I'll see if I can
help you out?

best,
Lee


>
> >

--
Lee Feigenbaum
VP Technology & Standards, Cambridge Semantics Inc
l...@cambridgesemantics.com
1-617-553-1060

Lee Feigenbaum

unread,
Jul 27, 2009, 2:42:56 PM7/27/09
to open...@googlegroups.com
Ah, glad you found it. Could you mail me the file in question anyway so
that we can take a look at it?

thanks,
Le
Reply all
Reply to author
Forward
0 new messages