query-84e0b96dd903ddda5d995ba53092128d

rq turtle/ttl

Objecten in de Brusselse Rand per thema

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
# Objecten in de Brusselse Rand per thema
SELECT ?item ?itemLabel ?itemDescription ?alias ?instanceLabel ?cityLabel ?placeLabel ?layerLabel ?geolocation ?linkcount ?itemArticle ?image WHERE {
  SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],nl,fr,de,en,es,it,no,se,fi". }
  ?item wdt:P2354 ?layer;
    wikibase:sitelinks ?linkcount.
  ?layer wdt:P6104 wd:Q96072031, ?project.
  OPTIONAL { ?item wdt:P18 ?image. }
  OPTIONAL { ?item wdt:P31 ?instance. }
  OPTIONAL { ?item wdt:P131 ?city. }
  OPTIONAL { ?item wdt:P276 ?place. }
  OPTIONAL { ?item wdt:P625 ?geolocation. }
  OPTIONAL {
    ?item skos:altLabel ?alias.
    FILTER((LANG(?alias)) = "nl")
  }
  OPTIONAL {
    ?itemArticle 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; v2("?alias"):::projected v9("?city") v11("?geolocation"):::projected v7("?image"):::projected v8("?instance") v3("?item"):::projected v12("?itemArticle"):::projected v4("?layer") v1("?layerLabel"):::projected v5("?linkcount"):::projected v10("?place") v6("?project") c5(["#91;AUTO_LANGUAGE#93;,nl,fr,de,en,es,it,no,se,fi"]):::literal c3(["bd:serviceParam"]):::iri c9(["wd:Q96072031"]):::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:P2354"--> v4 v3 --"wikibase:sitelinks"--> v5 v4 --"wdt:P6104"--> c9 v4 --"wdt:P6104"--> v6 subgraph optional0["(optional)"] style optional0 fill:#bbf,stroke-dasharray: 5 5; v3 -."wdt:P18".-> v7 end subgraph optional1["(optional)"] style optional1 fill:#bbf,stroke-dasharray: 5 5; v3 -."wdt:P31".-> v8 end subgraph optional2["(optional)"] style optional2 fill:#bbf,stroke-dasharray: 5 5; v3 -."wdt:P131".-> v9 end subgraph optional3["(optional)"] style optional3 fill:#bbf,stroke-dasharray: 5 5; v3 -."wdt:P276".-> 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 -."skos:altLabel".-> v2 end subgraph optional6["(optional)"] style optional6 fill:#bbf,stroke-dasharray: 5 5; v12 -."schema:about".-> v3 v12 --"schema:inLanguage"--> c1 v12 --"schema:isPartOf"--> c19 end