query-2b96ac8de488e06f05a7bdfdc769a25e

rq turtle/ttl

Query con nome italiano e nome francese:

Use at

PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX ps: <http://www.wikidata.org/prop/statement/>
PREFIX prov: <http://www.w3.org/ns/prov#>
PREFIX pr: <http://www.wikidata.org/prop/reference/>
PREFIX p: <http://www.wikidata.org/prop/>
SELECT ?item ?nome_it ?nome_fr
WHERE {
  ?item p:P2561 [ ps:P2561 ?nome_fr; prov:wasDerivedFrom [ pr:P248 wd:Q107820146 ] ] .
  ?item rdfs:label ?nome_it . FILTER(LANG(?nome_it) = "it")
}
ORDER BY ?nome_it

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v3("?item"):::projected v2("?nome_fr"):::projected v1("?nome_it"):::projected a1((" ")) a2((" ")) c4(["wd:Q107820146"]):::iri f0[["?nome_it = 'it'"]] f0 --> v1 a1 --"p:statement/P2561"--> v2 a2 --"p:reference/P248"--> c4 a1 --"prov:wasDerivedFrom"--> a2 v3 --"p:P2561"--> a1 v3 --"rdfs:label"--> v1