query-9b5c5dddf47f6f41f3cde5a36c0e4774

rq turtle/ttl

Synia: Descriptor

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/Q11964713>

SELECT
  ?descriptor ?descriptorLabel ?descriptorUrl

  ?value ?valueLabel

  (CONCAT(SUBSTR(STR(target:), 32), "&nbsp;↗") AS ?wikidata)
  (CONCAT("https://www.wikidata.org/wiki/", SUBSTR(STR(target:), 32)) AS ?wikidataUrl)
WHERE {
  {
    BIND(wd:Q65683386 AS ?descriptor)
    BIND("#descriptor" AS ?descriptorUrl)
    BIND(target: AS ?value)
  }
  SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
}

Query found at

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