Jc3s5h added a comment.

I am unable to find any tool that promises to return the data in exactly the 
form it is stored in the Wikidata database. I did find one method of displaying 
the contents of an item; an example of the url is

https://www.wikidata.org/wiki/Special:EntityData/Q692.json

This causes the data for William Shakespeare to be displayed in a browser 
window in json format. The relevant data for the death date appears to be:

{"time":"+00000001616-05-03T00:00:00Z","timezone":0,"before":0,"after":0,"precision":11,"calendarmodel":"http://www.wikidata.org/entity/Q1985727"},"type":"time"}},"type":"statement","rank":"normal";

Notice the year, 1616, has 11 digits. I'm not prepared to say if that is what 
is actually stored, or if some bit of software has formatted it for 
presentation in the json format.


TASK DETAIL
  https://phabricator.wikimedia.org/T66084

REPLY HANDLER ACTIONS
  Reply to comment or attach files, or !close, !claim, !unsubscribe or !assign 
<username>.

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Jc3s5h
Cc: Jc3s5h, Wikidata-bugs, Nemo_bis, Addshore, MZMcBride, Lydia_Pintscher, 
JohnLewis, aude



_______________________________________________
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs

Reply via email to