query-975ab083db9ed0af85e06f16b98d056d
title: Average age of people supporting Depardieu SELECT (AVG(?age) AS ?agemean) WHERE { wd:Q124005357 wdt:P577 ?publication; wdt:P1891 ?signataire. ?signataire wdt:P569 ?naissance. BIND((?publication - ?naissance)/365.25 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:Q124005357 wdt:P577 ?publication;
wdt:P1891 ?signataire.
?signataire wdt:P569 ?naissance.
BIND((?publication - ?naissance)/365.25 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:Q124005357"]):::iri
c1 --"wdt:P577"--> v1
c1 --"wdt:P1891"--> v2
v2 --"wdt:P569"--> v3
bind0[/"?publication - ?naissance / '365.25^^xsd:decimal'"/]
v1 --o bind0
v3 --o bind0
bind0 --as--o v4
bind2[/"average(?age)"/]
v4 --o bind2
bind2 --as--o v5