I think it works if you tag the date you mean: https://tinyurl.com/yzcqvrf9 or https://tinyurl.com/yk4cla52

But if the date is hard-coded, you could also skip the YEAR()/MONTH() functions: https://tinyurl.com/ygv8wb26

Cheers,
Lucas

On 10.11.21 12:50, Olaf Simons wrote:
Dear all,

the following search gives you a list of members (of the Strict Observance) with their respective birth years.

https://tinyurl.com/yj87vvhp

I was trying to give an age profile of this group at a certain moment in time (1780) but my script changes failed.

This is something I can do by adapting a nice WD-query (Age of all human beings on FactGrid, age of death):

https://tinyurl.com/yhzquxwf

But my attempt to use a date instead of the age at death failed

https://tinyurl.com/yzc75fzv

...I have a vague idea why the replacement does not work that way, but no idea what the proper query would look like.

Best wishes,
Olaf



(PS a distribution by birth years might be just as nice and far easier that the computation...)





Dr. Olaf Simons
Forschungszentrum Gotha der Universität Erfurt
Am Schlossberg 2
99867 Gotha
Büro: +49-361-737-1722
Mobil: +49-179-5196880
Privat: Hauptmarkt 17b/ 99867 Gotha
_______________________________________________
Wikidata mailing list -- wikidata@lists.wikimedia.org
To unsubscribe send an email to wikidata-leave@lists.wikimedia.org