Closed akuckartz closed 4 years ago
The uri http://dbpedia.org/resource/Citro\\u00EBn_Traction_Avant is invalid. The error is because the server allows for invalid uris in its datasource, but the client doesn't. Fix your data in your datasource (probably HDT?) and everything will be fine
@RubenVerborgh shouldn't N3.js prevent you from serializing invalid URIs, since it doesn't parse them?
@akuckartz My bet is that a) this interface is using an HDT backend b) with an invalid HDT file that was generated without specifying -f turtle
. The default parser of HDT was broken (and has since been removed).
@mielvds The problem is that the HDT module passes invalid IRIs to the writer. The N3.js parser, which would detect this, is never involved on the server (only on the client).
Thanks a lot for the quick replies!
So this HDT file I mentioned in https://github.com/LinkedDataFragments/Server.js/issues/60#issuecomment-338014627 likely is broken: http://gaia.infor.uva.es/hdt/dbpedia2015.hdt.gz
I seem to have stumbled upon errors in the HDT file resulting from these issues (when they still existed): https://github.com/rdfhdt/hdt-cpp/issues/12 and https://github.com/rdfhdt/hdt-cpp/issues/91
I think I should ask the maintainer of http://gaia.infor.uva.es/hdt/ to recreate the file.
This project has now been deprecated in favor of Comunica, where this should not be a problem anymore. If it is, feel free to open a new issue there.
Any suggestion what might be going wrong here? I am executing
and the result is: