gjhiggins/rdflib — Issue #61: RDFLib choking during graph parse on DBpedia infobox ontology data in NT format
Author: gjhiggins
Created: 2011-10-19 01:09:06+00:00
State: open

Originally filed by noandr...@gmail.com on 2009-05-20T16:31:49

What steps will reproduce the problem?
1. Download latest DBPedia Infobox ontology data in NT format
2. Attempt to parse it using
3.

What is the expected output? What do you see instead?

I expect the parse to succeed, or to make note of the problematic line and
continue loading rather than aborting and losing all previous results.

The error is:

rdflib.syntax.parsers.ntriples.ParseError: Invalid line:
' .'

Running this script:

import time
from rdflib.graph import Graph
g = Graph()
start = time.time()
g.parse("infobox-mappingbased-loose.nt", format="nt")
end = time.time()
elapsed = end - start

What version of the product are you using? On what operating system?

Latest source from svn.

Please provide any additional information below.

Python 2.6