query-4935b87852a6057381b96e1a1519996d

rq turtle/ttl

Synia: composer

Use at

PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX bd: <http://www.bigdata.com/rdf#>
PREFIX target: <http://www.wikidata.org/entity/Q205139>

SELECT 
  ?description ?descriptionLabel
  ("#composer" AS ?descriptionUrl)

  ?value ?valueLabel ?valueUrl

  ?wikidata ?wikidataUrl

WHERE {
  {
    BIND(1 AS ?order)
    BIND(wd:Q36834 AS ?description)
    BIND(target: AS ?value)
    BIND("Wikidata&nbsp;↗" AS ?wikidata)
    BIND(CONCAT("https://www.wikidata.org/wiki/", SUBSTR(STR(?value), 32)) AS ?wikidataUrl)
  }
  SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
} 
ORDER BY ?order

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v2("?description"):::projected v6("?descriptionUrl") v2("?order") v3("?value"):::projected v4("?wikidata"):::projected v5("?wikidataUrl"):::projected c2(["bd:serviceParam"]):::iri c4(["#91;AUTO_LANGUAGE#93;,en"]):::literal bind0[/"'1^^xsd:integer'"/] bind0 --as--o v2 bind1[/"'wd:Q36834'"/] bind1 --as--o v2 bind2[/"'wd:Q205139'"/] bind2 --as--o v3 bind3[/"'Wikidata&nbsp;↗'"/] bind3 --as--o v4 bind4[/"concat('https://www.wikidata.org/wiki/',substring(str(?value),'32^^xsd:integer'))"/] v3 --o bind4 bind4 --as--o v5 subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c2 --"wikibase:language"--> c4 end bind5[/"'#composer'"/] bind5 --as--o v6