query-a4531192b63bee5946df3ab7ba600d69

rq turtle/ttl

List tracks of an album, with links to Yandex, Apple, Spotify, Amazon: URLs without triangles - as text List tracks of an album, with links to Yandex, Apple, Spotify, Amazon: URLs without triangles - as text List tracks of an album, with links to Yandex, Apple, Spotify, Amazon: URLs without triangles - as text List tracks of an album, with links to Yandex, Apple, Spotify, Amazon: URLs without triangles - as text List tracks of an album, with links to Yandex, Apple, Spotify, Amazon: URLs without triangles - as text List tracks of an album, with links to Yandex, Apple, Spotify, Amazon: URLs without triangles - as text List tracks of an album, with links to Yandex, Apple, Spotify, Amazon: URLs without triangles - as text List tracks of an album, with links to Yandex, Apple, Spotify, Amazon: URLs without triangles - as text List tracks of an album, with links to Yandex, Apple, Spotify, Amazon: URLs without triangles - as text List tracks of an album, with links to Yandex, Apple, Spotify, Amazon: URLs without triangles - as text List tracks of an album, with links to Yandex, Apple, Spotify, Amazon: URLs without triangles - as text Liste des pistes d'un album avec les liens vers Yandex, Apple, Spotify, Amazon : URLs sans les triangles - comme texte List tracks of an album, with links to Yandex, Apple, Spotify, Amazon: URLs without triangles - as text List tracks of an album, with links to Yandex, Apple, Spotify, Amazon: URLs without triangles - as text List tracks of an album, with links to Yandex, Apple, Spotify, Amazon: URLs without triangles - as text List tracks of an album, with links to Yandex, Apple, Spotify, Amazon: URLs without triangles - as text List tracks of an album, with links to Yandex, Apple, Spotify, Amazon: URLs without triangles - as text List tracks of an album, with links to Yandex, Apple, Spotify, Amazon: URLs without triangles - as text List tracks of an album, with links to Yandex, Apple, Spotify, Amazon: URLs without triangles - as text List tracks of an album, with links to Yandex, Apple, Spotify, Amazon: URLs without triangles - as text List tracks of an album, with links to Yandex, Apple, Spotify, Amazon: URLs without triangles - as text Lijst van nummers van een album, met links naar Yandex, Apple, Spotify, Amazon: URL's zonder triangels - als tekst List tracks of an album, with links to Yandex, Apple, Spotify, Amazon: URLs without triangles - as text List tracks of an album, with links to Yandex, Apple, Spotify, Amazon: URLs without triangles - as text List tracks of an album, with links to Yandex, Apple, Spotify, Amazon: URLs without triangles - as text List tracks of an album, with links to Yandex, Apple, Spotify, Amazon: URLs without triangles - as text List tracks of an album, with links to Yandex, Apple, Spotify, Amazon: URLs without triangles - as text Lista spår från ett album, med länkar till Yandex, Apple, Spotify, Amazon: URL:er utan trianglar - som text List tracks of an album, with links to Yandex, Apple, Spotify, Amazon: URLs without triangles - as text List tracks of an album, with links to Yandex, Apple, Spotify, Amazon: URLs without triangles - as text List tracks of an album, with links to Yandex, Apple, Spotify, Amazon: URLs without triangles - as text List tracks of an album, with links to Yandex, Apple, Spotify, Amazon: URLs without triangles - as text List tracks of an album, with links to Yandex, Apple, Spotify, Amazon: URLs without triangles - as text

Use at

PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX ps: <http://www.wikidata.org/prop/statement/>
PREFIX pq: <http://www.wikidata.org/prop/qualifier/>
PREFIX p: <http://www.wikidata.org/prop/>
PREFIX bd: <http://www.bigdata.com/rdf#>
SELECT ?order ?item ?itemLabel
(STR(?_yandex) AS ?yandex)
(STR(?_apple) AS ?apple)
(CONCAT("https://open.spotify.com/track/", ?spotify_id) AS ?spotify)
(CONCAT("https://www.amazon.com/dp/", ?amazon_id) AS ?amazon)
{
  wd:Q105834355 p:P658 ?st . ?st ps:P658 ?item .

  OPTIONAL { ?st pq:P1545 ?order } . 
  OPTIONAL {?item p:P750 [ps:P750 wd:Q4537983 ; pq:P2699 ?_yandex ] .}
  OPTIONAL {?item p:P750 [ps:P750 wd:Q20056642 ; pq:P2699 ?_apple ] .}
  OPTIONAL {?item wdt:P5749 ?amazon_id .}
  OPTIONAL {?item wdt:P2207 ?spotify_id .}

  SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],ru,en" }
} ORDER BY xsd:integer(?order)

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v5("?_apple"):::projected v4("?_yandex"):::projected v11("?amazon") v6("?amazon_id"):::projected v9("?apple") v3("?item"):::projected v1("?order"):::projected v10("?spotify") v7("?spotify_id"):::projected v2("?st") v8("?yandex") a1((" ")) a2((" ")) c13(["bd:serviceParam"]):::iri c1(["wd:Q105834355"]):::iri c6(["wd:Q4537983"]):::iri c15(["#91;AUTO_LANGUAGE#93;,ru,en"]):::literal c9(["wd:Q20056642"]):::iri c1 --"p:P658"--> v2 v2 --"p:statement/P658"--> v3 subgraph optional0["(optional)"] style optional0 fill:#bbf,stroke-dasharray: 5 5; v2 -."p:qualifier/P1545".-> v1 end subgraph optional1["(optional)"] style optional1 fill:#bbf,stroke-dasharray: 5 5; a1 -."p:statement/P750".-> c6 a1 --"p:qualifier/P2699"--> v4 v3 --"p:P750"--> a1 end subgraph optional2["(optional)"] style optional2 fill:#bbf,stroke-dasharray: 5 5; a2 -."p:statement/P750".-> c9 a2 --"p:qualifier/P2699"--> v5 v3 --"p:P750"--> a2 end subgraph optional3["(optional)"] style optional3 fill:#bbf,stroke-dasharray: 5 5; v3 -."p:direct/P5749".-> v6 end subgraph optional4["(optional)"] style optional4 fill:#bbf,stroke-dasharray: 5 5; v3 -."p:direct/P2207".-> v7 end subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c13 --"wikibase:language"--> c15 end bind0[/"str(?_yandex)"/] v4 --o bind0 bind0 --as--o v8 bind1[/"str(?_apple)"/] v5 --o bind1 bind1 --as--o v9 bind2[/"concat('https://open.spotify.com/track/',?spotify_id)"/] v7 --o bind2 bind2 --as--o v10 bind3[/"concat('https://www.amazon.com/dp/',?amazon_id)"/] v6 --o bind3 bind3 --as--o v11