Dear rdflib manitainers, I am a user of rdflib. When I use rdflib.Graph to parse one .nt file, the terminal output is *rdflib.exceptions.ParserError: Invalid line: <http://dbpedia.org/resource/2015_African_Rugby_Under-19_Cup_Division_"A"> .* While I remove the double quotations of ”A", i.e., "A" -> A,the program is OK. I want to know if there are other ways to parsing the .nt file rather than remove the double quotations of ”A". Thanks a lot. Yours Sincerely.
Appendix Data{ <a:> <http://www.w3.org/2002/07/owl#sameAs> <http://dbpedia.org/resource/2015_African_Rugby_Under-19_Cup_Division_"A"> .} Code{ from rdflib import Graph g = Graph() g.parse("./data/example.nt") print(f"Graph g has {len(g)} statements.") print(g.serialize(format="turtle")) } -- http://github.com/RDFLib --- You received this message because you are subscribed to the Google Groups "rdflib-dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to rdflib-dev+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/rdflib-dev/4c3d1969-ff32-4751-96de-5cb01c92af52n%40googlegroups.com.