what is the {language of work or name} for {The Divine Comedy} has {has edition} as {La Divine Comédie} ?
What is the language of work or name for The Divine Comedy whose edition is La Divine Comédie?
SELECT ?value WHERE { wd:Q40185 p:P747 ?s . ?s ps:P747 wd:Q21191003 . ?s pq:P407 ?value}
select distinct ?value  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q40185> .
?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/Q21191003> .
?statement <http://www.wikidata.org/entity/P407> ?value. 
} 

What is the language of work or title for The Divine Comedy whose version is La Divine Comedie?