query-e5fcd1272713969c4bf81281e51b73b2
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:P569 ?date .
FILTER (?date >= "1950-01-01T00:00:00Z"^^xsd:dateTime && ?date < "1960-01-01T00:00:00Z"^^xsd:dateTime)
FILTER( ?item NOT IN (wd:Q4617, wd:Q15397819, wd:Q13406268, wd:Q4115189) ) .
FILTER EXISTS { ?item wdt:P106 []. }
?item wikibase:sitelinks ?count.
FILTER (?count > 9)
?item wdt:P21 wd:Q6581072 .
?item wdt:P31 wd:Q5 .
MINUS { ?item ^schema:about / schema:isPartOf <https://it.wikipedia.org/> }
}
ORDER BY ?date
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v2("?count"):::projected
v1("?date"):::projected
v3("?item"):::projected
a1((" "))
a2((" "))
c12(["wd:Q6581072"]):::iri
c17([https://it.wikipedia.org/]):::iri
c14(["wd:Q5"]):::iri
f0[["?count > '9^^xsd:integer'"]]
f0 --> v2
f1[[" "]]
subgraph f1e0["Exists Clause"]
e0v1 --"wdt:P106"--> e0a1
e0v1("?item"):::projected
e0a1((" ")):::projected
end
f1--EXISTS--> f1e0
f1 --> v3
f1 --> c2
f1 --> a1
v3 --"wdt:P106"--> a1
f2[["?item != 'wd:Q4617'?item != 'wd:Q15397819'?item != 'wd:Q13406268'?item != 'wd:Q4115189'"]]
f2 --> v3
f3[["?date >= '1950-01-01T00:00:00Z^^xsd:dateTime'?date < '1960-01-01T00:00:00Z^^xsd:dateTime'"]]
f3 --> v1
v3 --"wdt:P569"--> v1
v3 --"wikibase:sitelinks"--> v2
v3 --"wdt:P21"--> c12
v3 --"wdt:P31"--> c14
subgraph minus4["MINUS"]
style minus4 stroke-width:6px,fill:pink,stroke:red;
a2 --"schema:about"--> v3
a2 --"schema:isPartOf"--> c17
end