query-1cfbb3c0943209961abb384dd56dea6f

rq turtle/ttl

TODO

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#>
# Hotels d'Espanya amb coordenades sense P131
SELECT ?hotel ?hotelLabel ?coord WHERE {
  ?hotel wdt:P31 wd:Q27686.
  ?hotel wdt:P17 wd:Q29.
  ?hotel wdt:P625 ?coord.
  MINUS {?hotel wdt:P131 []}
    SERVICE wikibase:label {
    bd:serviceParam wikibase:language "[AUTO_LANGUAGE],ca,en,es,fr,de" . 
  }
}
#defaultView:Map

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v2("?coord"):::projected v1("?hotel"):::projected a1((" ")) c2(["wd:Q27686"]):::iri c4(["wd:Q29"]):::iri c8(["bd:serviceParam"]):::iri c10(["#91;AUTO_LANGUAGE#93;,ca,en,es,fr,de"]):::literal v1 --"wdt:P31"--> c2 v1 --"wdt:P17"--> c4 v1 --"wdt:P625"--> v2 subgraph minus0["MINUS"] style minus0 stroke-width:6px,fill:pink,stroke:red; v1 --"wdt:P131"--> a1 end subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c8 --"wikibase:language"--> c10 end