query-6382487cf0322909ad1a60aac6fce1df

rq turtle/ttl

ValterVB

Use at

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)
    FILTER NOT EXISTS { [] schema:about ?item ; 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 a2((" ")) a1((" ")) c7([https://it.wikipedia.org/]):::iri c12(["wd:Q6581072"]):::iri c15(["wd:Q5"]):::iri f0[["?item != 'wd:Q4617'?item != 'wd:Q15397819'?item != 'wd:Q13406268'?item != 'wd:Q4115189'"]] f0 --> v2 f1[["not "]] subgraph f1e0["Exists Clause"] e0a1 --"schema:about"--> e0v1 e0a1 --"schema:isPartOf"--> e0c3 e0v1("?item"):::projected e0a1((" ")):::projected e0c3([https://it.wikipedia.org/]):::iri end f1--EXISTS--> f1e0 f1 --> a1 f1 --> c5 f1 --> v2 f1 --> c6 f1 --> c7 a1 --"schema:about"--> v2 a1 --"schema:isPartOf"--> c7 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"--> c12 v2 --"wdt:P569"--> v1 v2 --"wdt:P31"--> c15 v2 --"wdt:P106"--> a2 v2 --"wikibase:sitelinks"--> v3