query-796dccd160c454d0ce8f6dbe969aa398
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 ?album ?albumLabel ?bc ?track ?trackLabel ?ISRC ?MusicBrainz ?Genius ?LyricsTranslate
WHERE
{
?album wdt:P11354 ?bc.
?album wdt:P658 ?track .
OPTIONAL {?track wdt:P1243 ?ISRC .}
OPTIONAL {?track wdt:P4404 ?MusicBrainz .}
OPTIONAL {?track wdt:P6218 ?Genius .}
OPTIONAL {?track wdt:P7212 ?LyricsTranslate .}
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
} order by ?albumLabel ?trackLabel
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v8("?Genius"):::projected
v6("?ISRC"):::projected
v9("?LyricsTranslate"):::projected
v7("?MusicBrainz"):::projected
v3("?album"):::projected
v1("?albumLabel"):::projected
v4("?bc"):::projected
v5("?track"):::projected
v2("?trackLabel"):::projected
c8(["bd:serviceParam"]):::iri
c10(["#91;AUTO_LANGUAGE#93;,en"]):::literal
v3 --"wdt:P11354"--> v4
v3 --"wdt:P658"--> v5
subgraph optional0["(optional)"]
style optional0 fill:#bbf,stroke-dasharray: 5 5;
v5 -."wdt:P1243".-> v6
end
subgraph optional1["(optional)"]
style optional1 fill:#bbf,stroke-dasharray: 5 5;
v5 -."wdt:P4404".-> v7
end
subgraph optional2["(optional)"]
style optional2 fill:#bbf,stroke-dasharray: 5 5;
v5 -."wdt:P6218".-> v8
end
subgraph optional3["(optional)"]
style optional3 fill:#bbf,stroke-dasharray: 5 5;
v5 -."wdt:P7212".-> v9
end
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c8 --"wikibase:language"--> c10
end