Did {Victor Hugo} {influenced by} {Plato} and {Miguel de Cervantes} ?
Did Miguel de Cervantes and Plato influence the work of Victor Hugo?
Was the work of Victor Hugo influenced by Plato and Miguel de Cervantes?
ASK WHERE { resource:Victor_Hugo property:influenced_by resource:Plato . resource:Victor_Hugo property:influenced_by resource:Miguel_de_Cervantes }
 ASK { ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q535> . ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P737> . ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q859>. ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q535> . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P737> . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q5682>. } 
ASK WHERE { wd:Q535 wdt:P737 wd:Q859 . wd:Q535 wdt:P737 wd:Q5682 }