what is the {language of work or name} for {Diary of Anne Frank} has {has edition} as {Diario} ?
WHICH LANGUAGE USE DARIO?
For what language is the Diary of Anne Frank called Diario?
SELECT ?j WHERE { ?h property:edition resource:Diario . resource:Diary_of_Anne_Frank property:edition ?h . ?h property:language_of_work_or_name ?j }
select distinct ?value  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q6911> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P747> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q14624888> .
?statement <http://www.wikidata.org/entity/P407> ?value. 
} 

SELECT ?value WHERE { wd:Q6911 p:P747 ?s . ?s ps:P747 wd:Q14624888 . ?s pq:P407 ?value}