(Note and reviewing query) |
(→Automation?: detail?) |
||
Line 3: | Line 3: | ||
:I don't think it is possible directly: you can query by comparing a property to a constant, but there is no syntax (that I can see) for comparing one property to another. You could use conditional logic on a page to detect "death on birthday", and use that to set a category or a property value that you could then query for. [[User:Thurstan|Thurstan]] ([[User talk:Thurstan|talk]]) 04:18, July 19, 2016 (UTC) |
:I don't think it is possible directly: you can query by comparing a property to a constant, but there is no syntax (that I can see) for comparing one property to another. You could use conditional logic on a page to detect "death on birthday", and use that to set a category or a property value that you could then query for. [[User:Thurstan|Thurstan]] ([[User talk:Thurstan|talk]]) 04:18, July 19, 2016 (UTC) |
||
::Don't we compare one property to another when computing "age at death" etc? --- [[User:Robin Patterson|Robin Patterson]] ([[User talk:Robin Patterson|Talk]]) 05:52, April 30, 2020 (UTC) |
::Don't we compare one property to another when computing "age at death" etc? --- [[User:Robin Patterson|Robin Patterson]] ([[User talk:Robin Patterson|Talk]]) 05:52, April 30, 2020 (UTC) |
||
+ | :: This is the working part of that (after it checks that both dates exist): |
||
+ | <nowiki>[[Age at death::{{#expr:{{#replace:{{Showfact|death year}}|,}}-{{#replace:{{Showfact|birth year}}|,}}}}]]</nowiki> |
||
+ | ::- though I can see that by using only "year" it will be wrong about half the time! Can we "use conditional logic" along those lines to produce a property such as "died on birthday" by subtracting birth day from death day to see if the answer is 0 and do the same to the months? --- [[User:Robin Patterson|Robin Patterson]] ([[User talk:Robin Patterson|Talk]]) 06:57, April 11, 2021 (UTC) |
||
==Accuracy== |
==Accuracy== |
Revision as of 06:57, 11 April 2021
Automation?
This page is asking to be augmented by a table of Familypedia people. Who's game to try? -- Robin Patterson (Talk) 00:43, July 19, 2016 (UTC)
- I don't think it is possible directly: you can query by comparing a property to a constant, but there is no syntax (that I can see) for comparing one property to another. You could use conditional logic on a page to detect "death on birthday", and use that to set a category or a property value that you could then query for. Thurstan (talk) 04:18, July 19, 2016 (UTC)
- Don't we compare one property to another when computing "age at death" etc? --- Robin Patterson (Talk) 05:52, April 30, 2020 (UTC)
- This is the working part of that (after it checks that both dates exist):
[[Age at death::{{#expr:{{#replace:{{Showfact|death year}}|,}}-{{#replace:{{Showfact|birth year}}|,}}}}]]
- - though I can see that by using only "year" it will be wrong about half the time! Can we "use conditional logic" along those lines to produce a property such as "died on birthday" by subtracting birth day from death day to see if the answer is 0 and do the same to the months? --- Robin Patterson (Talk) 06:57, April 11, 2021 (UTC)
Accuracy
We have just had someone correct a birth year, that of Gertrude Astor, from 1877 to 1889, with a Google book image for "proof". But Wikipedia says that she was born in 1887. I wonder how much other misinformation is about. --- Robin Patterson (Talk) 11:06, April 10, 2021 (UTC)