query-245655d84d9f0a0391c29658d72ff3fe
...show as a graph
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#>
#defaultView:Graph
SELECT ?a ?aLabel ?apicture ?p ?pLabel ?ppicture ("EC0000" AS ?rgb)
WHERE
{
?p wdt:P31 wd:Q98270496 .
?p wdt:P1416 ?w .
OPTIONAL {
?w wdt:P131+ ?a .
?a wdt:P31 wd:Q1221156 .
?a wdt:P41 ?apicture .
}
SERVICE wikibase:label { bd:serviceParam wikibase:language "de" . }
} ORDER BY ASC(?aLabel) ASC(?wLabel) ASC(?pLabel)
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v6("?a"):::projected
v1("?aLabel"):::projected
v7("?apicture"):::projected
v4("?p"):::projected
v3("?pLabel"):::projected
v8("?rgb")
v5("?w")
v2("?wLabel")
c10(["de"]):::literal
c8(["bd:serviceParam"]):::iri
c5(["wd:Q1221156"]):::iri
c2(["wd:Q98270496"]):::iri
v4 --"wdt:P31"--> c2
v4 --"wdt:P1416"--> v5
subgraph optional0["(optional)"]
style optional0 fill:#bbf,stroke-dasharray: 5 5;
v5 -."wdt:P131".-> v6
v6 --"wdt:P31"--> c5
v6 --"wdt:P41"--> v7
end
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c8 --"wikibase:language"--> c10
end
bind0[/"'EC0000'"/]
bind0 --as--o v8