Hi!
I have been processing a recent Wikidata JSON dump. According to documentation [1], time datavalue has timezone, before and after fields, which are documented as currently not used. But I noticed that in the dump some claims do have them set. What should be done about them? Are they errors? Are they information? Can they be safely ignored? Should those claims be updated in Wikidata to remove those fields?
I can provide a list of those if anyone is interested.
[1] https://doc.wikimedia.org/Wikibase/master/php/md_docs_topics_json.html
Mitar
On Sun, Jan 9, 2022 at 9:29 AM Mitar mmitar@gmail.com wrote:
Hi!
I have been processing a recent Wikidata JSON dump. According to documentation [1], time datavalue has timezone, before and after fields, which are documented as currently not used. But I noticed that in the dump some claims do have them set. What should be done about them? Are they errors? Are they information? Can they be safely ignored? Should those claims be updated in Wikidata to remove those fields?
I can provide a list of those if anyone is interested.
[1] https://doc.wikimedia.org/Wikibase/master/php/md_docs_topics_json.html
Hi Mitar,
Thanks for checking. Do you have a few examples so we can have a closer look?
Cheers Lydia
Hi!
On Mon, Jan 10, 2022 at 4:50 PM Lydia Pintscher Lydia.Pintscher@wikimedia.de wrote:
Thanks for checking. Do you have a few examples so we can have a closer look?
There are many. Few cases (many seems to about a reference with P813):
Q5198 P21 reference 1 snaks P813 0: timezone 60 Q5664 P20 reference 1 snaks P813 0: timezone 60 Q5721 P106 reference 0 snaks P813 0: timezone 60 Q5869 P194 reference 0 snaks P813 0: timezone -5 Q5826 P194 reference 0 snaks P813 0: timezone -5 Q5816 P106 reference 0 snaks P813 0: timezone 60 Q11618 P4632 reference 0 snaks P813 0: before 1 Q12018 P4632 reference 0 snaks P813 0: before 1 Q12773 P106 reference 0 snaks P813 0: timezone 60 Q12773 P106 reference 0 snaks P813 0: timezone 60 Q13283 P1999 reference 0 snaks P813 0: after 1 Q13293 P1999 reference 0 snaks P813 0: after 1 Q13307 P1999 reference 0 snaks P813 0: after 1 Q13334 P355 reference 0 snaks P813 0: before 1 Q13353 P2853 reference 0 snaks P813 0: timezone 120 Q13361 P1999 reference 0 snaks P813 0: after 1 Q14430 P106 reference 0 snaks P813 0: timezone 60 Q14524 P106 reference 1 snaks P813 0: timezone 60 Q15174 P194 reference 0 snaks P813 0: timezone -5 Q16019 P21 reference 0 snaks P813 0: timezone 60 Q16285 P106 reference 1 snaks P813 0: timezone 60 Q16285 P106 reference 1 snaks P813 0: timezone 60 Q16389 P106 reference 0 snaks P813 0: timezone 60 Q16403 P4632 reference 0 snaks P813 0: before 1 Q16572 P194 reference 0 snaks P813 0: timezone -5 Q16967 P194 reference 0 snaks P813 0: timezone -5 Q18809 P106 reference 0 snaks P813 0: timezone 60 Q18809 P106 reference 0 snaks P813 0: timezone 60 Q19214 P1001 reference 0 snaks P813 0: timezone -5 Q20456 P4632 reference 0 snaks P813 0: before 1 Q22432 P4632 reference 0 snaks P813 0: before 1
You cannot see it in web UI, but you can see them in JSON, e.g.:
https://www.wikidata.org/wiki/Special:EntityData/Q5198.json
Few, which are not related to P813 are:
Q28287 P2046 qualifier P585: timezone 1 Q38573 P166 qualifier P585: after 1 Q54764 P2046 qualifier P585: timezone 1 Q82986 P580: after 1
There are really many of them. I can produce the whole list if you need that.
Mitar