query-6b91a1bfd75d549c7ed253cefa7c7a86
TODO
Use at
- https://query.wikidata.org/sparql
PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX bd: <http://www.bigdata.com/rdf#>
SELECT ?item ?itemLabelIt ?itemLabelEn (URI(CONCAT("http://www.treccani.it/enciclopedia/",?treccani)) AS ?treccaniUrl)
WHERE {
?item wdt:P3365 ?treccani .
SERVICE wikibase:label { bd:serviceParam wikibase:language "en".
?item rdfs:label ?itemLabelEn .
}
SERVICE wikibase:label { bd:serviceParam wikibase:language "it".
?item rdfs:label ?itemLabelIt .
}
}
ORDER BY DESC(?treccani) limit 10
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v2("?item"):::projected
v3("?itemLabelEn"):::projected
v4("?itemLabelIt"):::projected
v1("?treccani"):::projected
v5("?treccaniUrl")
c3(["bd:serviceParam"]):::iri
c5(["en"]):::literal
c7(["it"]):::literal
v2 --"wdt:P3365"--> v1
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c3 --"wikibase:language"--> c5
v2 --"rdfs:label"--> v3
end
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c3 --"wikibase:language"--> c7
v2 --"rdfs:label"--> v4
end
bind0[/"concat('http://www.treccani.it/enciclopedia/',?treccani)"/]
v1 --o bind0
bind0 --as--o v5