what is the {language of work or name} for {Vatican City} has {detail map} as {Vatican City map IT.png} ?
What { working dialect or title } does { Vatican City } have { detail outline } like { Vatican City outline IT.png }?
What { working language or name } does { Vatican City } have { detail map } like { Vatican City map IT.png }?
SELECT ?j WHERE { ?f property:detail_map ?y . resource:Vatican_City property:detail_map ?f . FILTER ( CONTAINS ( ?y , 'Vatican City map IT.png' ) ) . ?f 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/Q237> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P1621> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <Vatican City map IT.png> .
?statement <http://www.wikidata.org/entity/P407> ?value. 
} 

SELECT ?value WHERE { wd:Q237 p:P1621 ?s . ?s ps:P1621 ?x filter(contains(?x , 'Vatican City map IT.png')) . ?s pq:P407 ?value}