query-25192925b17252cae17bb264fa40428f

rq turtle/ttl

Examples

Use at

PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX bd: <http://www.bigdata.com/rdf#>
SELECT
  ?publisher ?publisherLabel
  (CONCAT("#publisher/", SUBSTR(STR(?publisher), 32)) AS ?publisherUrl)
  ?publisherDescription
WHERE {
  VALUES ?publisher {
    wd:Q73820 wd:Q7894897 wd:Q1065097
  }
  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("?publisher"):::projected v2("?publisherUrl") c2(["bd:serviceParam"]):::iri c4(["#91;AUTO_LANGUAGE#93;,en"]):::literal bind0[/VALUES ?publisher/] bind0-->v1 bind00(["wd:Q73820"]) bind00 --> bind0 bind01(["wd:Q7894897"]) bind01 --> bind0 bind02(["wd:Q1065097"]) bind02 --> bind0 subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c2 --"wikibase:language"--> c4 end bind1[/"concat('#publisher/',substring(str(?publisher),'32^^xsd:integer'))"/] v1 --o bind1 bind1 --as--o v2