query-9b4b7e219413355ca078e8a682e6071b
List corporate archives, location, and address where available. SELECT ?item ?itemLabel ?countryLabel ?address { ?item wdt:P31 wd:Q10605195 . optional { ?item wdt:P17 ?country . } optional { ?item wdt:P6375 ?address . } SERVICE wikibase:label { bd:serviceParam wikibase:language "en,de,fr,ja,it,sv" } }
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#>
# List corporate archives, location, and address where available.
SELECT ?item ?itemLabel ?countryLabel ?address
{
?item wdt:P31 wd:Q10605195 .
optional { ?item wdt:P17 ?country . }
optional { ?item wdt:P6375 ?address . }
SERVICE wikibase:label { bd:serviceParam wikibase:language "en,de,fr,ja,it,sv" }
}
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v3("?address"):::projected
v2("?country")
v1("?item"):::projected
c8(["en,de,fr,ja,it,sv"]):::literal
c6(["bd:serviceParam"]):::iri
c2(["wd:Q10605195"]):::iri
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:P6375".-> v3
end
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c6 --"wikibase:language"--> c8
end