query-dd0af69c3a742a50b9228c4f92cd39f6
wikipedia page nameHello, I have started a SPARQL command (which actually works) :
Use at
- https://query.wikidata.org/sparql
PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX bd: <http://www.bigdata.com/rdf#>
SELECT DISTINCT ?itemLabel WHERE {
?item wdt:P27 wd:Q142;
wdt:P31 wd:Q5;
wdt:P106 wd:Q82955;
wdt:P569 ?age;
FILTER(YEAR(?age) >= 1858).
SERVICE wikibase:label { bd:serviceParam wikibase:language "fr" }
}
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v1("?age")
v2("?item")
c10(["bd:serviceParam"]):::iri
c5(["wd:Q5"]):::iri
c12(["fr"]):::literal
c7(["wd:Q82955"]):::iri
c3(["wd:Q142"]):::iri
f0[["year-from-dateTime(?age) >= '1858^^xsd:integer'"]]
f0 --> v1
v2 --"wdt:P27"--> c3
v2 --"wdt:P31"--> c5
v2 --"wdt:P106"--> c7
v2 --"wdt:P569"--> v1
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c10 --"wikibase:language"--> c12
end