query-90484c4169bc17baf9921465ad2af573

rq turtle/ttl

Items in ENWP, not in ELWP, with >30 sitelinks SELECT ?x ?count WHERE { https://en.wikipedia.org/ ^schema:isPartOf/schema:about ?x . MINUS { https://el.wikipedia.org/ ^schema:isPartOf/schema:about ?x . } MINUS { VALUES ?type { wd:Q4167836 wd:Q11266439 wd:Q4167410 wd:Q17442446 } ?x wdt:P31 ?type . } ?x wikibase:sitelinks ?count . FILTER(?count > 30) } LIMIT 10000

Use at

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/>
# Items in ENWP, not in ELWP, with >30 sitelinks
SELECT ?x ?count WHERE {
   <https://en.wikipedia.org/> ^schema:isPartOf/schema:about ?x .
  MINUS { <https://el.wikipedia.org/> ^schema:isPartOf/schema:about ?x . } 
  MINUS { 
    VALUES ?type { wd:Q4167836 wd:Q11266439 wd:Q4167410 wd:Q17442446 }
    ?x wdt:P31 ?type .
  }
  ?x wikibase:sitelinks ?count .
  FILTER(?count > 30)
} LIMIT 10000

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v1("?count"):::projected v3("?type") v2("?x"):::projected a1((" ")) a2((" ")) c3([https://en.wikipedia.org/]):::iri c5([https://el.wikipedia.org/]):::iri f0[["?count > '30^^xsd:integer'"]] f0 --> v1 a1 --"schema:isPartOf"--> c3 a1 --"schema:about"--> v2 subgraph minus1["MINUS"] style minus1 stroke-width:6px,fill:pink,stroke:red; a2 --"schema:isPartOf"--> c5 a2 --"schema:about"--> v2 end subgraph minus2["MINUS"] style minus2 stroke-width:6px,fill:pink,stroke:red; bind3[/VALUES ?type/] bind3-->v3 bind30(["wd:Q4167836"]) bind30 --> bind3 bind31(["wd:Q11266439"]) bind31 --> bind3 bind32(["wd:Q4167410"]) bind32 --> bind3 bind33(["wd:Q17442446"]) bind33 --> bind3 v2 --"wdt:P31"--> v3 end v2 --"wikibase:sitelinks"--> v1