query-09f176f84bab03da015ee18016224cd6

rq turtle/ttl

Alemaniako herriak estatuka

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/>
PREFIX bd: <http://www.bigdata.com/rdf#>
SELECT DISTINCT ?germany ?germanyLabel ?pop WHERE {
  SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
  ?germany wdt:P31 wd:Q42744322;
    wdt:P1082 ?pop;
    (wdt:P131*) wd:Q1202.

  ?germany wikibase:sitelinks ?linkcount.
  FILTER(?linkcount >= 10 )
  FILTER(NOT EXISTS {
    ?article schema:about ?germany;
      schema:inLanguage "eu";
      schema:isPartOf <https://eu.wikipedia.org/>.
  })
}

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v1("?article") v2("?germany"):::projected v3("?linkcount") v4("?pop"):::projected c12(["wd:Q42744322"]):::iri c3(["eu"]):::literal c8(["bd:serviceParam"]):::iri c5([https://eu.wikipedia.org/]):::iri c10(["#91;AUTO_LANGUAGE#93;,en"]):::literal c15(["wd:Q1202"]):::iri f0[["not "]] subgraph f0e0["Exists Clause"] e0v1 --"schema:about"--> e0v2 e0v1 --"schema:inLanguage"--> e0c3 e0v1 --"schema:isPartOf"--> e0c5 e0v1("?article"):::projected e0v2("?germany"):::projected e0c3(["eu"]):::literal e0c5([https://eu.wikipedia.org/]):::iri end f0--EXISTS--> f0e0 f0 --> v1 f0 --> c1 f0 --> v2 f0 --> c2 f0 --> c3 f0 --> c4 f0 --> c5 v1 --"schema:about"--> v2 v1 --"schema:inLanguage"--> c3 v1 --"schema:isPartOf"--> c5 f1[["?linkcount >= '10^^xsd:integer'"]] f1 --> v3 subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c8 --"wikibase:language"--> c10 end v2 --"wdt:P31"--> c12 v2 --"wdt:P1082"--> v4 v2 --"wdt:P131"--> c15 v2 --"wikibase:sitelinks"--> v3