query-4b041f0466e0e05b19e43de989d79cf0
ID QA
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 ?id ?idLabel ?fb ?gkg ?osm WHERE {
?id wdt:P31 wd:Q38000321.
OPTIONAL { ?id wdt:P646 ?fb. }
OPTIONAL { ?id wdt:P2671 ?gkg. }
OPTIONAL { ?id wdt:P402 ?osm. }
SERVICE wikibase:label { bd:serviceParam wikibase:language "en". }
}
ORDER BY (?idLabel)
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v3("?fb"):::projected
v4("?gkg"):::projected
v2("?id"):::projected
v1("?idLabel"):::projected
v5("?osm"):::projected
c7(["bd:serviceParam"]):::iri
c2(["wd:Q38000321"]):::iri
c9(["en"]):::literal
v2 --"wdt:P31"--> c2
subgraph optional0["(optional)"]
style optional0 fill:#bbf,stroke-dasharray: 5 5;
v2 -."wdt:P646".-> v3
end
subgraph optional1["(optional)"]
style optional1 fill:#bbf,stroke-dasharray: 5 5;
v2 -."wdt:P2671".-> v4
end
subgraph optional2["(optional)"]
style optional2 fill:#bbf,stroke-dasharray: 5 5;
v2 -."wdt:P402".-> v5
end
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c7 --"wikibase:language"--> c9
end