query-d356e3f09e9c6b2d8d0e701e29b0bd98
TODO
Use at
- https://query.wikidata.org/sparql
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX schema: <http://schema.org/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
SELECT ?s ?desc ?birth WHERE {
?s wdt:P31 wd:Q5.
?s wdt:P569 ?birth.
?s wdt:P19 ?place.
?place (wdt:P131*/wdt:P706*) wd:Q5705.
MINUS { ?s wdt:P570 _:b5. }
?s rdfs:label ?desc.
?article schema:about ?s.
?article schema:inLanguage "ca".
FILTER((?birth > "1898-01-01"^^xsd:dat) && (?birth < "1918-01-01"^^xsd:dat))
FILTER((LANG(?desc)) = "ca")
}
GROUP BY ?s ?desc ?birth
LIMIT 100
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v5("?article")
v2("?birth"):::projected
v1("?desc"):::projected
v4("?place")
v3("?s"):::projected
a2((" "))
a1((" "))
c10(["wd:Q5705"]):::iri
c5(["wd:Q5"]):::iri
c1(["ca"]):::literal
f0[["?desc = 'ca'"]]
f0 --> v1
f1[["?birth > s1898-01-01^^<http://www.w3.org/2001/XMLSchema#dat>'?birth < s1918-01-01^^<http://www.w3.org/2001/XMLSchema#dat>'"]]
f1 --> v2
v3 --"wdt:P31"--> c5
v3 --"wdt:P569"--> v2
v3 --"wdt:P19"--> v4
v4 --"wdt:P131"--> a1
a1 --"wdt:P706"--> c10
subgraph minus2["MINUS"]
style minus2 stroke-width:6px,fill:pink,stroke:red;
v3 --"wdt:P570"--> a2
end
v3 --"rdfs:label"--> v1
v5 --"schema:about"--> v3
v5 --"schema:inLanguage"--> c1