Re: [DBpedia-discussion] Invalid URIs with asian characters

2018-12-26 Thread Martynas Jusevičius
This is pretty old Jena: 3.0.1.

On Wed, Dec 26, 2018 at 3:56 PM Sebastian Hellmann
 wrote:
>
> 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:
>  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
> [email protected]
> 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
> Homepage: http://aksw.org/SebastianHellmann
> Research Group: http://aksw.org


___
DBpedia-discussion mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dbpedia-discussion


Re: [DBpedia-discussion] Invalid URIs with asian characters

2018-12-26 Thread Sebastian Hellmann

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:
 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
[email protected]
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 


Homepage: http://aksw.org/SebastianHellmann
Research Group: http://aksw.org
___
DBpedia-discussion mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dbpedia-discussion