query-b71abfc627e09b5e667c616fd3d8eab6
TODO
Use at
- https://query.wikidata.org/sparql
PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX bd: <http://www.bigdata.com/rdf#>
SELECT ?item ?itemLabel ?Instagram ?Facebook ?Twitter ?Songkick
WHERE
{
?item wdt:P1902 ?Spotify .
OPTIONAL {?item wdt:P2003 ?Instagram . }
OPTIONAL {?item wdt:P2013 ?Facebook . }
OPTIONAL {?item wdt:P2002 ?Twitter . }
OPTIONAL {?item wdt:P3478 ?Songkick . }
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
} order by ?itemLabel
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v5("?Facebook"):::projected
v4("?Instagram"):::projected
v7("?Songkick"):::projected
v3("?Spotify")
v6("?Twitter"):::projected
v2("?item"):::projected
v1("?itemLabel"):::projected
c7(["bd:serviceParam"]):::iri
c9(["#91;AUTO_LANGUAGE#93;,en"]):::literal
v2 --"wdt:P1902"--> v3
subgraph optional0["(optional)"]
style optional0 fill:#bbf,stroke-dasharray: 5 5;
v2 -."wdt:P2003".-> v4
end
subgraph optional1["(optional)"]
style optional1 fill:#bbf,stroke-dasharray: 5 5;
v2 -."wdt:P2013".-> v5
end
subgraph optional2["(optional)"]
style optional2 fill:#bbf,stroke-dasharray: 5 5;
v2 -."wdt:P2002".-> v6
end
subgraph optional3["(optional)"]
style optional3 fill:#bbf,stroke-dasharray: 5 5;
v2 -."wdt:P3478".-> v7
end
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c7 --"wikibase:language"--> c9
end