query-e114d7927d9270d7c5a801e022b72d5a
TODO
Use at
- https://query.wikidata.org/sparql
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX schema: <http://schema.org/>
SELECT ?item ?date ?count
WHERE
{
?item wdt:P21 wd:Q6581072 .
?item wdt:P569 ?date .
?item wdt:P31 wd:Q5 .
?item wikibase:sitelinks ?count.
FILTER (?count > 9)
FILTER (?date >= "1950-01-01T00:00:00Z"^^xsd:dateTime && ?date < "1960-01-01T00:00:00Z"^^xsd:dateTime)
MINUS { ?item ^schema:about / schema:isPartOf <https://it.wikipedia.org/> }
FILTER( ?item NOT IN (wd:Q4617, wd:Q15397819, wd:Q13406268, wd:Q4115189) ) .
FILTER EXISTS { ?item wdt:P106 []. }
}
ORDER BY ?date
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v3("?count"):::projected
v1("?date"):::projected
v2("?item"):::projected
a1((" "))
a2((" "))
c10(["wd:Q6581072"]):::iri
c17([https://it.wikipedia.org/]):::iri
c13(["wd:Q5"]):::iri
f0[[" "]]
subgraph f0e0["Exists Clause"]
e0v1 --"wdt:P106"--> e0a1
e0v1("?item"):::projected
e0a1((" ")):::projected
end
f0--EXISTS--> f0e0
f0 --> v2
f0 --> c1
f0 --> a1
v2 --"wdt:P106"--> a1
f1[["?item != 'wd:Q4617'?item != 'wd:Q15397819'?item != 'wd:Q13406268'?item != 'wd:Q4115189'"]]
f1 --> v2
f2[["?date >= '1950-01-01T00:00:00Z^^xsd:dateTime'?date < '1960-01-01T00:00:00Z^^xsd:dateTime'"]]
f2 --> v1
f3[["?count > '9^^xsd:integer'"]]
f3 --> v3
v2 --"wdt:P21"--> c10
v2 --"wdt:P569"--> v1
v2 --"wdt:P31"--> c13
v2 --"wikibase:sitelinks"--> v3
subgraph minus4["MINUS"]
style minus4 stroke-width:6px,fill:pink,stroke:red;
a2 --"schema:about"--> v2
a2 --"schema:isPartOf"--> c17
end