query-272649a959745884ae916a1db056e050
TODO
Use at
- https://query.wikidata.org/sparql
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#>
# coses de Cervera marcant els monuments, per buscar duplicats
SELECT ?lloc ?llocLabel ?coordinate ?layer
WHERE {
?lloc wdt:P131+ wd:Q847011.
?lloc wdt:P625 ?coordinate .
OPTIONAL{?lloc wdt:P1435 ?layer.}
SERVICE wikibase:label {bd:serviceParam wikibase:language "[AUTO_LANGUAGE],ca,en,es".}
}
#defaultView:Map
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v2("?coordinate"):::projected
v3("?layer"):::projected
v1("?lloc"):::projected
c6(["bd:serviceParam"]):::iri
c2(["wd:Q847011"]):::iri
c8(["#91;AUTO_LANGUAGE#93;,ca,en,es"]):::literal
v1 --"wdt:P131"--> c2
v1 --"wdt:P625"--> v2
subgraph optional0["(optional)"]
style optional0 fill:#bbf,stroke-dasharray: 5 5;
v1 -."wdt:P1435".-> v3
end
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c6 --"wikibase:language"--> c8
end