query-a4c3c062aafe37b5d72fd241cfd746f1
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 distinct ?item ?date ?count
WHERE
{
?item wdt:P21 wd:Q6581072 .
?item wdt:P569 ?date .
?item wdt:P31 wd:Q5 .
?item wdt:P106 [] .
?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) ) .
}
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((" "))
c9(["wd:Q6581072"]):::iri
c17([https://it.wikipedia.org/]):::iri
c12(["wd:Q5"]):::iri
f0[["?item != 'wd:Q4617'?item != 'wd:Q15397819'?item != 'wd:Q13406268'?item != 'wd:Q4115189'"]]
f0 --> v2
f1[["?date >= '1950-01-01T00:00:00Z^^xsd:dateTime'?date < '1960-01-01T00:00:00Z^^xsd:dateTime'"]]
f1 --> v1
f2[["?count > '9^^xsd:integer'"]]
f2 --> v3
v2 --"wdt:P21"--> c9
v2 --"wdt:P569"--> v1
v2 --"wdt:P31"--> c12
v2 --"wdt:P106"--> a1
v2 --"wikibase:sitelinks"--> v3
subgraph minus3["MINUS"]
style minus3 stroke-width:6px,fill:pink,stroke:red;
a2 --"schema:about"--> v2
a2 --"schema:isPartOf"--> c17
end