Ok, I fixed this, and the dataset now imports.

Note that the problem will be worse in other databases than PostgreSQL.
MySQL doesn't support dates before Christ at all.

Sebastian

Sebastian Schaffert <[email protected]> schrieb am Sa., 19.
Nov. 2016 um 14:24 Uhr:

> So I got that one. The dataset contains a line
>
> <http://wikidata.dbpedia.org/resource/Q1541> <
> http://wikidata.dbpedia.org/property/birthDate> "-0106-01-03"^^<
> http://www.w3.org/2001/XMLSchema#date> .
>
> with a negative date that starts with a 0, which is invalid according to
> the XMLSchema data datatype (https://www.w3.org/TR/xmlschema11-2/#date)
> where a 0 is not allowed as first character of the year. PostgreSQL in any
> case doesn't like it.
>
> I am trying to work around the problem.
>
>
>
>
> Sergio Fernández <[email protected]> schrieb am Di., 11. Okt. 2016 um
> 10:24 Uhr:
>
> On Tue, Aug 9, 2016 at 9:55 PM, Sebastian Schaffert <
> [email protected]> wrote:
>
> > Do you have a concrete test file for which it fails? I can try then. Just
> > don't want to download all the DBPedia language versions... ;-)
> >
>
> I think
>
> http://downloads.dbpedia.org/2016-04/core-i18n/ta/infobox_properties_wkd_uris_ta.ttl.bz2
> is the one causing issues loading on KiWi... But I have to double check
> that. It'd be great is someone else could give it a try. ;-)
>
>
> --
> Sergio Fernández
> Partner Technology Manager
> Redlink GmbH
> m: +43 6602747925 <+43%20660%202747925>
> e: [email protected]
> w: http://redlink.co
>
>

Reply via email to