pietercolpaert / hardf

Low level PHP library for RDF1.1 based on N3.js
https://packagist.org/packages/pietercolpaert/hardf
MIT License
36 stars 7 forks source link

blank nodes in ntriples format aren't parsed correctly #34

Closed zozlak closed 6 months ago

zozlak commented 3 years ago
$parser = new pietercolpaert\hardf\TriGParser(['format' => 'application/ntriples']);
$parser->parse('_:r1 <https://foo.bar> "baz".');

throws an Unexpected "blank" on line 1. error while

This might be simply an issue with specifying the right format but I didn't find the list of formats to be used for particular RDF serializations.