Hi Martynas,

there seems to be a small mismatch between the IRI spec and the RDF Spec. We are investigating this ourselves. In general it seems that some parsers are switching like Rapper/Libraptor from version 2.0.14 to 2.0.15, but others are not.

So there is no real common ground here. The error you have posted is not an error RDF error as RDF 'should' conform to NFC, but it is not an error, if it doesn't: https://www.w3.org/TR/rdf11-concepts/#section-Graph-Literal

I am actually wondering why it says NFKC and not NFC, which is the default.


We are investigating it since a couple of months, but it involves a lot of research on spec details and there is no fast progress. Different parser seem to adjust their behaviour. If you are lucky, you can turn off the Jena Riot fatal exceptions with options, some versions had this hard coded.


Maybe, you could post your riot version, this would help ...


All the best,

Sebastian

 On 26.12.18 08:37, Martynas Jusevičius wrote:
Hi,

trying to parse the RDF document from
http://dbpedia.org/resource/Tim_Berners-Lee:

org.apache.jena.riot.RiotException: [line: 146, col: 35] Bad IRI:
<http://ja.dbpedia.org/resource/ティム・バーナーズ=リー> Code: 47/NOT_NFKC in
PATH: The IRI is not in Unicode Normal Form KC.

I would expect there to be a validator somewhere in the pipeline that
should catch this sort of errors, but evidently there is not?

Happy Holidays.

Martynas


_______________________________________________
DBpedia-discussion mailing list
DBpedia-discussion@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dbpedia-discussion

--
All the best,
Sebastian Hellmann

Director of Knowledge Integration and Linked Data Technologies (KILT) Competence Center
at the Institute for Applied Informatics (InfAI) at Leipzig University
Executive Director of the DBpedia Association
Projects: http://dbpedia.org, http://nlp2rdf.org, http://linguistics.okfn.org, https://www.w3.org/community/ld4lt <http://www.w3.org/community/ld4lt>
Homepage: http://aksw.org/SebastianHellmann
Research Group: http://aksw.org
_______________________________________________
DBpedia-discussion mailing list
DBpedia-discussion@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dbpedia-discussion

Reply via email to