query-4ae40f8e5e85d389aa8c99c90525f1e4

rq turtle/ttl

Propertieslocated in the administrative territorial entity (P131)instance of (P31)subclass of (P279)creator (P170)coordinate location (P625)image (P18)made from material (P186)location (P276)Vanderkrogt.net Statues ID (P3711)OpenStreetMap node ID (P11693)

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#>
SELECT ?item ?itemLabel ?itemDescription ?isteinLabel ?liegtinLabel ?urheberLabel ?ortLabel ?materLabel ?vanderk ?pic ?loc ?osmkn 
WHERE {
  ?item wdt:P131+ wd:Q5958. # liegt im Landkreis Nienburg oder einer Untereinheit (Gemeinde, Stadtteil)
  VALUES ?wasSuchenWir { wd:Q860861 wd:Q179700 wd:Q483453 wd:Q2293362 wd:Q4989906 wd:Q17489160 wd:Q659396 wd:Q245117 }
  # Skulptur, Statue, Zierbrunnen, Skulpturengruppe, Denkmal, Büste, Reiterstandbild, Relief
  ?item wdt:P31 ?wasSuchenWir.   # Suche nach Skulptur oder Unterklasse /wdt:P279? führt zu Timeout bzw SEHR vielen Doppelzeilen
  ?item wdt:P31 ?istein.
  OPTIONAL { ?item wdt:P131  ?liegtin }
  OPTIONAL { ?item wdt:P170  ?urheber }
  OPTIONAL { ?item wdt:P625  ?loc }
  OPTIONAL { ?item wdt:P18   ?pic }  # gibt Mehrfachtreffer wenn mehrere Bilder vorhanden
  OPTIONAL { ?item wdt:P186  ?mater }
  OPTIONAL { ?item wdt:P276  ?ort }
  OPTIONAL { ?item wdt:P3711 ?vanderk }
  OPTIONAL { ?item wdt:P11693 ?osmkn }
  SERVICE wikibase:label { bd:serviceParam wikibase:language "de,en". }
} ORDER BY ?itemLabel
LIMIT 100   # 4 (Oktober 2023), 13 (Juni 024)

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v4("?istein") v2("?item"):::projected v1("?itemLabel"):::projected v5("?liegtin") v7("?loc"):::projected v9("?mater") v10("?ort") v12("?osmkn"):::projected v8("?pic"):::projected v6("?urheber") v11("?vanderk"):::projected v3("?wasSuchenWir") c2(["wd:Q5958"]):::iri c12(["bd:serviceParam"]):::iri c14(["de,en"]):::literal v2 --"wdt:P131"--> c2 bind0[/VALUES ?wasSuchenWir/] bind0-->v3 bind00(["wd:Q860861"]) bind00 --> bind0 bind01(["wd:Q179700"]) bind01 --> bind0 bind02(["wd:Q483453"]) bind02 --> bind0 bind03(["wd:Q2293362"]) bind03 --> bind0 bind04(["wd:Q4989906"]) bind04 --> bind0 bind05(["wd:Q17489160"]) bind05 --> bind0 bind06(["wd:Q659396"]) bind06 --> bind0 bind07(["wd:Q245117"]) bind07 --> bind0 v2 --"wdt:P31"--> v3 v2 --"wdt:P31"--> v4 subgraph optional0["(optional)"] style optional0 fill:#bbf,stroke-dasharray: 5 5; v2 -."wdt:P131".-> v5 end subgraph optional1["(optional)"] style optional1 fill:#bbf,stroke-dasharray: 5 5; v2 -."wdt:P170".-> v6 end subgraph optional2["(optional)"] style optional2 fill:#bbf,stroke-dasharray: 5 5; v2 -."wdt:P625".-> v7 end subgraph optional3["(optional)"] style optional3 fill:#bbf,stroke-dasharray: 5 5; v2 -."wdt:P18".-> v8 end subgraph optional4["(optional)"] style optional4 fill:#bbf,stroke-dasharray: 5 5; v2 -."wdt:P186".-> v9 end subgraph optional5["(optional)"] style optional5 fill:#bbf,stroke-dasharray: 5 5; v2 -."wdt:P276".-> v10 end subgraph optional6["(optional)"] style optional6 fill:#bbf,stroke-dasharray: 5 5; v2 -."wdt:P3711".-> v11 end subgraph optional7["(optional)"] style optional7 fill:#bbf,stroke-dasharray: 5 5; v2 -."wdt:P11693".-> v12 end subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c12 --"wikibase:language"--> c14 end