Closed az0 closed 4 years ago
You can always access to its underlying data through attributes
property (though it's undocumented), e.g.:
entity.attributes['claims'][prop_dob.id]
OK, I see the year 1950 here, and the precison=9 means year. Thank you
entity.attributes['claims'][prop_dob.id][0]['mainsnak']['datavalue']['value']['time']
This should be closed with https://github.com/dahlia/wikidata/pull/26
This date of birth is just the year 1950 instead of the full date. How would I get the partial data 1950 without this exception?