Closed excursus closed 1 year ago
No there is not, N3.js is designed to throw errors on invalid syntax as is the case with these IRIs (note that the definition of IRIREF explicitly forbids them in the production grammar).
I suggest you raise an issue with the DBPedia team to request they remove such invalid IRIs from their dataset.
@excursus — I believe the DBpedia Information Extraction Framework is the best repository for issues such as this. If not, they should be able to point you in a better direction.
The 2022-03 snapshot of dbpedia contains iris with unescaped double quotes such as this one:
see here. This causes the lexer to throw this error:
Is there any way to gracefully recover from errors such as these?