query-22519c984562479b7750dd8c96e23bec

rq turtle/ttl

TODO

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 psn: <http://www.wikidata.org/prop/statement/value-normalized/>
PREFIX p: <http://www.wikidata.org/prop/>
PREFIX bd: <http://www.bigdata.com/rdf#>
SELECT ?item ?itemLabel ?area ?unitLabel ?coord ?article WHERE {
  ?item wdt:P31 wd:Q23442 .                       # island
  ?item wdt:P206 wd:Q545 .                        # in Baltic Sea
  ?item p:P2046 ?stat .                           # area statement
  ?stat psn:P2046/wikibase:quantityAmount ?area . # normalised area
  ?stat psn:P2046/wikibase:quantityUnit ?unit .   # unit
  filter(?area >= 10000000)                       # more than or equal to 10 sq kmm
  OPTIONAL {?item wdt:P625 ?coord . }             # coordinate

  ?article schema:about ?item ;                   # article at EN wiki
           schema:isPartOf <https://en.wikipedia.org/> .

  filter not exists {?article1 schema:about ?item ; 
  schema:isPartOf <https://he.wikipedia.org/> .}  # no article at HE wiki

  SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". } 
}

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v3("?area"):::projected v7("?article"):::projected v1("?article1") v6("?coord"):::projected v2("?item"):::projected v4("?stat") v5("?unit") a1((" ")) a2((" ")) c3([https://he.wikipedia.org/]):::iri c6(["wd:Q23442"]):::iri c8(["wd:Q545"]):::iri c14([https://en.wikipedia.org/]):::iri c16(["bd:serviceParam"]):::iri c18(["#91;AUTO_LANGUAGE#93;,en"]):::literal f0[["not "]] subgraph f0e0["Exists Clause"] e0v1 --"schema:about"--> e0v2 e0v1 --"schema:isPartOf"--> e0c3 e0v1("?article1"):::projected e0v2("?item"):::projected e0c3([https://he.wikipedia.org/]):::iri end f0--EXISTS--> f0e0 f0 --> v1 f0 --> c1 f0 --> v2 f0 --> c2 f0 --> c3 v1 --"schema:about"--> v2 v1 --"schema:isPartOf"--> c3 f1[["?area >= '10000000^^xsd:integer'"]] f1 --> v3 v2 --"p:direct/P31"--> c6 v2 --"p:direct/P206"--> c8 v2 --"p:P2046"--> v4 v4 --"p:statement/value-normalized/P2046"--> a1 a1 --"wikibase:quantityAmount"--> v3 v4 --"p:statement/value-normalized/P2046"--> a2 a2 --"wikibase:quantityUnit"--> v5 subgraph optional0["(optional)"] style optional0 fill:#bbf,stroke-dasharray: 5 5; v2 -."p:direct/P625".-> v6 end v7 --"schema:about"--> v2 v7 --"schema:isPartOf"--> c14 subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c16 --"wikibase:language"--> c18 end