query-96f4672631d59cfb7477c48f301cfc98

rq turtle/ttl

Artworks in the Urban Space, City of Zürich

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#>
#defaultView:Map

SELECT DISTINCT ?item ?itemLabel ?itemDescription ?typeLabel ?creatorLabel ?locationLabel ?coord ?ID
WHERE
{
  ?item wdt:P136 wd:Q557141.
  ?item wdt:P131 wd:Q72.

  OPTIONAL{?item wdt:P31 ?type}
  OPTIONAL{?item wdt:P170 ?creator}
  OPTIONAL{?item wdt:P131 ?location}
  OPTIONAL{?item wdt:P625 ?coord}
  OPTIONAL{?item wdt:P528 ?ID}

  SERVICE wikibase:label {bd:serviceParam wikibase:language"en,de".}
}

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v6("?ID"):::projected v5("?coord"):::projected v3("?creator") v1("?item"):::projected v4("?location") v2("?type") c10(["bd:serviceParam"]):::iri c2(["wd:Q557141"]):::iri c12(["en,de"]):::literal c4(["wd:Q72"]):::iri v1 --"wdt:P136"--> c2 v1 --"wdt:P131"--> c4 subgraph optional0["(optional)"] style optional0 fill:#bbf,stroke-dasharray: 5 5; v1 -."wdt:P31".-> v2 end subgraph optional1["(optional)"] style optional1 fill:#bbf,stroke-dasharray: 5 5; v1 -."wdt:P170".-> v3 end subgraph optional2["(optional)"] style optional2 fill:#bbf,stroke-dasharray: 5 5; v1 -."wdt:P131".-> v4 end subgraph optional3["(optional)"] style optional3 fill:#bbf,stroke-dasharray: 5 5; v1 -."wdt:P625".-> v5 end subgraph optional4["(optional)"] style optional4 fill:#bbf,stroke-dasharray: 5 5; v1 -."wdt:P528".-> v6 end subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c10 --"wikibase:language"--> c12 end