rdfhdt/hdt-cpp — pull request #2 by RubenVerborgh (2014-10-08 14:28:47+00:00)
Title: Fix angular brackets around datatype IRIs

When HDT files are generated with the built-in NTriple parser, [angular brackets surrounding a literal's type IRI become part of that literal](https://github.com/rdfhdt/hdt-cpp/blob/78a41e0c667230b5dbd40ab7f2bce998e2ad9a9e/hdt-lib/src/rdf/RDFParserNtriples.cpp#L99-L101). This means this parser encodes a literal as follows:

"literal"^^

However, the current Raptor and Serd implementations do not have this behavior, and encode as follows:

"literal"^^http://example.org/type

This pull request corrects this behavior so all parsers use angular brackets around datatype IRIs.

If the opposite behavior is desired, please let me know and I'll update this pull request.