query-ea9d1692fbbfe353444815aa51d4ffd5

rq turtle/ttl

Lijst van alle bunkersAll bunkers world-wide.

Use at

PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
PREFIX schema: <http://schema.org/>
PREFIX bd: <http://www.bigdata.com/rdf#>
#defaultView:Map
# Select all bunkers
SELECT ?item ?itemLabel ?itemDescription ?itemAlias ?partof ?partofLabel ?city ?cityLabel ?place ?placeLabel ?instance ?instanceLabel ?regionLabel ?layerLabel ?geolocation ?linkcount ?article WHERE {
  SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],nl,fr,de,en,es,it,no,se,fi". }
  ?item wdt:P31 wd:Q91122, ?instance;
    wikibase:sitelinks ?linkcount.
  OPTIONAL { ?item wdt:P17 ?country, ?layer. }
  OPTIONAL { ?item wdt:P131 ?city. }
  OPTIONAL { ?item wdt:P276 ?place. }
  OPTIONAL { ?item wdt:P361 ?partof. }
  OPTIONAL { ?item wdt:P625 ?geolocation. }
  OPTIONAL { ?item wdt:P706 ?region. }
  OPTIONAL {
    ?item skos:altLabel ?itemAlias.
    FILTER((LANG(?itemAlias)) = "nl")
  }
  OPTIONAL {
    ?article schema:about ?item;
      schema:inLanguage "nl";
      schema:isPartOf <https://nl.wikipedia.org/>.
  }
}
ORDER BY (?layerLabel)

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v13("?article"):::projected v8("?city"):::projected v6("?country") v11("?geolocation"):::projected v4("?instance"):::projected v3("?item"):::projected v2("?itemAlias"):::projected v7("?layer") v1("?layerLabel"):::projected v5("?linkcount"):::projected v10("?partof"):::projected v9("?place"):::projected v12("?region") c5(["#91;AUTO_LANGUAGE#93;,nl,fr,de,en,es,it,no,se,fi"]):::literal c7(["wd:Q91122"]):::iri c3(["bd:serviceParam"]):::iri c19([https://nl.wikipedia.org/]):::iri c1(["nl"]):::literal subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c3 --"wikibase:language"--> c5 end v3 --"wdt:P31"--> c7 v3 --"wdt:P31"--> v4 v3 --"wikibase:sitelinks"--> v5 subgraph optional0["(optional)"] style optional0 fill:#bbf,stroke-dasharray: 5 5; v3 -."wdt:P17".-> v6 v3 --"wdt:P17"--> v7 end subgraph optional1["(optional)"] style optional1 fill:#bbf,stroke-dasharray: 5 5; v3 -."wdt:P131".-> v8 end subgraph optional2["(optional)"] style optional2 fill:#bbf,stroke-dasharray: 5 5; v3 -."wdt:P276".-> v9 end subgraph optional3["(optional)"] style optional3 fill:#bbf,stroke-dasharray: 5 5; v3 -."wdt:P361".-> v10 end subgraph optional4["(optional)"] style optional4 fill:#bbf,stroke-dasharray: 5 5; v3 -."wdt:P625".-> v11 end subgraph optional5["(optional)"] style optional5 fill:#bbf,stroke-dasharray: 5 5; v3 -."wdt:P706".-> v12 end subgraph optional6["(optional)"] style optional6 fill:#bbf,stroke-dasharray: 5 5; v3 -."skos:altLabel".-> v2 end subgraph optional7["(optional)"] style optional7 fill:#bbf,stroke-dasharray: 5 5; v13 -."schema:about".-> v3 v13 --"schema:inLanguage"--> c1 v13 --"schema:isPartOf"--> c19 end