Fixed RDF parser problem in to_ntriples.