query-bf3f9a70b64ce7a97a89894958b9f566
" https://no.wikipedia.org/wiki/Mal:Kart_over_norske_fyrList every church in norway,map "Stolen from
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#>
#title:Liste over kirker i Norge
#defaultView:Map
SELECT DISTINCT ?id ?idLabel ?loc ?incept ?sentry ?send WHERE {
?id wdt:P31 wd:Q16970;
wdt:P17 wd:Q20.
OPTIONAL { ?id wdt:P625 ?loc. }
OPTIONAL { ?id wdt:P729 ?sentry. }
OPTIONAL { ?id wdt:P730 ?send. }
OPTIONAL { ?id wdt:P571 ?incept. }
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],nb". } # Helps get the label in your language, if not, then en language
}
ORDER BY ASC(?loc)
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v2("?id"):::projected
v5("?incept"):::projected
v1("?loc"):::projected
v4("?send"):::projected
v3("?sentry"):::projected
c10(["bd:serviceParam"]):::iri
c4(["wd:Q20"]):::iri
c2(["wd:Q16970"]):::iri
c12(["#91;AUTO_LANGUAGE#93;,nb"]):::literal
v2 --"wdt:P31"--> c2
v2 --"wdt:P17"--> c4
subgraph optional0["(optional)"]
style optional0 fill:#bbf,stroke-dasharray: 5 5;
v2 -."wdt:P625".-> v1
end
subgraph optional1["(optional)"]
style optional1 fill:#bbf,stroke-dasharray: 5 5;
v2 -."wdt:P729".-> v3
end
subgraph optional2["(optional)"]
style optional2 fill:#bbf,stroke-dasharray: 5 5;
v2 -."wdt:P730".-> v4
end
subgraph optional3["(optional)"]
style optional3 fill:#bbf,stroke-dasharray: 5 5;
v2 -."wdt:P571".-> v5
end
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c10 --"wikibase:language"--> c12
end