query-860dd1e022997b411698760ccd8b5a6b
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#>
SELECT ?hackerspace ?hackerspaceLabel ?countryLabel ?hqLabel ?ATELabel WHERE {
# ?founder wdt:P106 wd:Q34074720.
# ?hackerspace wdt:P112 ?founder.
?hackerspace wdt:P31 wd:Q1032372
OPTIONAL { ?hackerspace wdt:P17 ?country }
OPTIONAL { ?hackerspace wdt:P159 ?hq }
OPTIONAL { ?hackerspace wdt:P131 ?ATE }
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
}
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v4("?ATE")
v2("?country")
v1("?hackerspace"):::projected
v3("?hq")
c2(["wd:Q1032372"]):::iri
c7(["bd:serviceParam"]):::iri
c9(["#91;AUTO_LANGUAGE#93;,en"]):::literal
v1 --"wdt:P31"--> c2
subgraph optional0["(optional)"]
style optional0 fill:#bbf,stroke-dasharray: 5 5;
v1 -."wdt:P17".-> v2
end
subgraph optional1["(optional)"]
style optional1 fill:#bbf,stroke-dasharray: 5 5;
v1 -."wdt:P159".-> v3
end
subgraph optional2["(optional)"]
style optional2 fill:#bbf,stroke-dasharray: 5 5;
v1 -."wdt:P131".-> v4
end
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c7 --"wikibase:language"--> c9
end