What is the {horse} for {mount} of {Napoleon}
Napoleon horse has what name?
What is the name of Napoleon horse?
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:horse . resource:Napoleon property:mount ?a }
select distinct ?obj where { ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q517> . ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P3091> . ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?obj . ?obj <http://www.wikidata.org/entity/P31> <http://wikidata.dbpedia.org/resource/Q726> } 
 select distinct ?obj where { wd:Q517 wdt:P3091 ?obj . ?obj wdt:P31 wd:Q726 } 
Marengo