query-66c0cab0ffd256a37dbb880397a47994
Give me all consortia and their fields of work! (as a Graph)(Comment: Data is not yet complete.)
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 ?w ?wLabel ?p ?pLabel ("EC0000" AS ?rgb)
WHERE
{
?p wdt:P31 wd:Q98270496 .
?p wdt:P101 ?w .
FILTER(?p != wd:Q96678462)
OPTIONAL { ?w wdt:P154 ?wpicture }
SERVICE wikibase:label { bd:serviceParam wikibase:language "de,en" . }
} ORDER BY ASC(?wLabel)
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v2("?p"):::projected
v5("?rgb")
v3("?w"):::projected
v1("?wLabel"):::projected
v4("?wpicture")
c7(["bd:serviceParam"]):::iri
c9(["de,en"]):::literal
c3(["wd:Q98270496"]):::iri
f0[["?p != 'wd:Q96678462'"]]
f0 --> v2
v2 --"wdt:P31"--> c3
v2 --"wdt:P101"--> v3
subgraph optional0["(optional)"]
style optional0 fill:#bbf,stroke-dasharray: 5 5;
v3 -."wdt:P154".-> v4
end
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c7 --"wikibase:language"--> c9
end
bind1[/"'EC0000'"/]
bind1 --as--o v5