query-8972ee69a754633e2d12023276ccb587

rq turtle/ttl

Objekty z LfDSobjectID (krajny zarjad za pomnikoškit)

Use at

PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX bd: <http://www.bigdata.com/rdf#>
#---------------------------------------------------------------------------------------
# Objekte mit LfDSobjectID (Landesamt für Denkmalschutz in Sachsen)
#---------------------------------------------------------------------------------------
#defaultView:Map;Table
SELECT ?item ?itemLabel ?itemDescription ?image ?coordinate WHERE {
  wd:Q93223 wdt:P625 ?Center.                 # Zentrum der Umkreissuche ist Crostwitz
  SERVICE wikibase:around {
    ?item wdt:P625 ?coordinate.               # Objekt muss Koordinate haben
    bd:serviceParam wikibase:center ?Center.
    bd:serviceParam wikibase:radius "15".     # Radius von 15 Kilometer
  }
  ?item wdt:P1708 ?LfDSid                     # Objekt muss LfDSid besitzen
  OPTIONAL { ?item wdt:P18 ?image. }          # optional Bild
  SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],hsb,de". }
 }

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v1("?Center") v4("?LfDSid") v3("?coordinate"):::projected v5("?image"):::projected v2("?item"):::projected c4(["bd:serviceParam"]):::iri c7(["15"]):::literal c12(["#91;AUTO_LANGUAGE#93;,hsb,de"]):::literal c1(["wd:Q93223"]):::iri c1 --"wdt:P625"--> v1 subgraph s1["http://wikiba.se/ontology#around"] style s1 stroke-width:4px; v2 --"wdt:P625"--> v3 c4 --"wikibase:center"--> v1 c4 --"wikibase:radius"--> c7 end v2 --"wdt:P1708"--> v4 subgraph optional0["(optional)"] style optional0 fill:#bbf,stroke-dasharray: 5 5; v2 -."wdt:P18".-> v5 end subgraph s2["http://wikiba.se/ontology#label"] style s2 stroke-width:4px; c4 --"wikibase:language"--> c12 end