You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
see here. This causes the lexer to throw this error:
const err = new Error(`Unexpected "${issue}" on line ${this._line}.`);
^
Error: Unexpected "<http://dbpedia.org/resource/"populate_or_perish">" on line 820.
Is there any way to gracefully recover from errors such as these?
The text was updated successfully, but these errors were encountered:
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.
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?
The text was updated successfully, but these errors were encountered: