Différences entre versions de « Test »
Sauter à la navigation
Sauter à la recherche
| Ligne 1 : | Ligne 1 : | ||
| + | {{sparql: | ||
PREFIX pq: <http://www.wikidata.org/prop/qualifier/> | PREFIX pq: <http://www.wikidata.org/prop/qualifier/> | ||
PREFIX ps: <http://www.wikidata.org/prop/statement/> | PREFIX ps: <http://www.wikidata.org/prop/statement/> | ||
| Ligne 24 : | Ligne 25 : | ||
} | } | ||
ORDER BY DESC(?startTime) | ORDER BY DESC(?startTime) | ||
| + | }} | ||
Version du 3 mars 2016 à 09:00
{{sparql: PREFIX pq: <http://www.wikidata.org/prop/qualifier/> PREFIX ps: <http://www.wikidata.org/prop/statement/> PREFIX p: <http://www.wikidata.org/prop/> PREFIX bd: <http://www.bigdata.com/rdf#> PREFIX wikibase: <http://wikiba.se/ontology#> PREFIX wd: <http://www.wikidata.org/entity/> PREFIX wdt: <http://www.wikidata.org/prop/direct/>
select ?link ?linkLabel ?picture ?age where {
?link wdt:P31 wd:Q5 ;
wdt:P39 wd:Q19546 ;
wdt:P18 ?picture ;
wdt:P569 ?dateOfBirth ;
wdt:P570 ?dateOfDeath ;
p:P39 ?guidPositionHeldPope .
?guidPositionHeldPope ps:P39 wd:Q19546 ;
pq:P580 ?startTime .
bind( year(?dateOfDeath)-year(?dateOfBirth) as ?age )
SERVICE wikibase:label {
bd:serviceParam wikibase:language "fr,en" .
}
}
ORDER BY DESC(?startTime) }}