The following issue has been SUBMITTED. ====================================================================== http://bugs.librdf.org/mantis/view.php?id=580 ====================================================================== Reported By: jrweave Assigned To: ====================================================================== Project: Raptor RDF Syntax Library Issue ID: 580 Category: utilities Reproducibility: always Severity: major Priority: normal Status: new Syntax Name: ====================================================================== Date Submitted: 2014-08-19 18:23 Last Modified: 2014-08-19 18:23 ====================================================================== Summary: Bnode collisions when converting from ttl to nt using rapper Description: Turtle files allow blank nodes labels with underscores, like _:a_b. N-triples does not. It appears that when converting turtle files to N-triples, rapper simply replaces '_' with 'z'. However, this will cause a blank node collision if there is already a blank node _:azb.
Steps to Reproduce: 1. Set up the following file.ttl. _:ab a <data:type> . _:azb a <data:type> . _:a_b a <data:type> . 2. Then run the following: rapper -i turtle -o ntriples file.ttl rapper: Parsing URI file://[REDACTED]/file.ttl with parser turtle rapper: Serializing with serializer ntriples _:ab <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <data:type> . _:azb <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <data:type> . _:azb <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <data:type> . rapper: Parsing returned 3 triples ====================================================================== Issue History Date Modified Username Field Change ====================================================================== 2014-08-19 18:23 jrweave New Issue ====================================================================== _______________________________________________ redland-dev mailing list [email protected] http://lists.librdf.org/mailman/listinfo/redland-dev
