Open GregHanson opened 2 months ago
actually the spec does list valid characters:
RDF blank nodes in Turtle are expressed as _: followed by a blank node label which is a series of name characters. The characters in the label are built upon PN_CHARS_BASE, liberalized as follows:
Where PN_CHARS_BASE
is the following list:
[A-Z]
[a-z]
[#x00C0-#x00D6]
[#x00D8-#x00F6]
[#x00F8-#x02FF]
[#x0370-#x037D]
[#x037F-#x1FFF]
[#x200C-#x200D]
[#x2070-#x218F]
[#x2C00-#x2FEF]
[#x3001-#xD7FF]
[#xF900-#xFDCF]
[#xFDF0-#xFFFD]
[#x10000-#xEFFFF]
Which does not include #x0040
for @
Using an input ttl file from W3C SPARQL 1.0 Test Suite (i18n,) I run it through rdf2hdt and dump the contents using hdtSearch:
While I cannot find
@
called out in ttl or nt spec, when using@
for blank nodes in the examples from the docs above,riot
CLI throws validation errors when a blank node begins with@