query-2dc4717ef07b0f10c55769cfae9b27e6
title: Average age of people supporting Depardieu SELECT (AVG(?age) AS ?agemean) WHERE { wd:Q124037491 wdt:P577 ?publication; wdt:P1891 ?signataire. ?signataire wdt:P569 ?naissance. BIND((YEAR(?publication)) - (YEAR(?naissance)) AS ?age) }
Use at
- https://query.wikidata.org/sparql
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
#title: Average age of people supporting Depardieu
SELECT (AVG(?age) AS ?agemean) WHERE {
wd:Q124037491 wdt:P577 ?publication;
wdt:P1891 ?signataire.
?signataire wdt:P569 ?naissance.
BIND((YEAR(?publication)) - (YEAR(?naissance)) AS ?age)
}
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v4("?age"):::projected
v5("?agemean")
v3("?naissance")
v1("?publication")
v2("?signataire")
c1(["wd:Q124037491"]):::iri
c1 --"wdt:P577"--> v1
c1 --"wdt:P1891"--> v2
v2 --"wdt:P569"--> v3
bind0[/"year-from-dateTime(?publication) - year-from-dateTime(?naissance)"/]
v1 --o bind0
v3 --o bind0
bind0 --as--o v4
bind2[/"average(?age)"/]
v4 --o bind2
bind2 --as--o v5