query-24d958607db04a7fcd0764512de3c586

rq turtle/ttl

Show labels in two different languagesHi all! Given this simple query

Use at

PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX bd: <http://www.bigdata.com/rdf#>
SELECT ?item ?itemLabel (URI(CONCAT("http://www.treccani.it/enciclopedia/",?treccani)) AS ?treccaniUrl)
WHERE {
  ?item wdt:P3365 ?treccani .
  SERVICE wikibase:label { bd:serviceParam wikibase:language "it,en" . }
}
ORDER BY DESC(?treccani)

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v2("?item"):::projected v1("?treccani"):::projected v3("?treccaniUrl") c3(["bd:serviceParam"]):::iri c5(["it,en"]):::literal v2 --"wdt:P3365"--> v1 subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c3 --"wikibase:language"--> c5 end bind0[/"concat('http://www.treccani.it/enciclopedia/',?treccani)"/] v1 --o bind0 bind0 --as--o v3