query-6cb33c5030bb979f6238a6f7f9cd42b7

rq turtle/ttl

103 places 2022-04-11

116 with coordinates 2022-04-11

SELECT ?place ?placeLabel ?placeDescription ?coordinates WHERE { ?place wdt:P31 wd:Q106996250. OPTIONAL { ?place wdt:P625 ?coordinates. } SERVICE wikibase:label { bd:serviceParam wikibase:language "de". ?place rdfs:label ?placeLabel; schema:description ?placeDescription. } } ORDER BY (?place)

Use at

PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX schema: <http://schema.org/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX bd: <http://www.bigdata.com/rdf#>
#103 places 2022-04-11
#116 with coordinates 2022-04-11
SELECT ?place ?placeLabel ?placeDescription ?coordinates WHERE {
  ?place wdt:P31 wd:Q106996250.
  OPTIONAL { ?place wdt:P625 ?coordinates. }
  SERVICE wikibase:label {
    bd:serviceParam wikibase:language "de".
    ?place rdfs:label ?placeLabel;
      schema:description ?placeDescription.
  }
}
ORDER BY (?place)

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v2("?coordinates"):::projected v1("?place"):::projected v4("?placeDescription"):::projected v3("?placeLabel"):::projected c2(["wd:Q106996250"]):::iri c7(["de"]):::literal c5(["bd:serviceParam"]):::iri v1 --"wdt:P31"--> c2 subgraph optional0["(optional)"] style optional0 fill:#bbf,stroke-dasharray: 5 5; v1 -."wdt:P625".-> v2 end subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c5 --"wikibase:language"--> c7 v1 --"rdfs:label"--> v3 v1 --"schema:description"--> v4 end