What is the {horse} for {owner of} of {Ulysses S. Grant}
Who is the {horse} for {proprietor of} of {Ulysses S. Grant}
Who is the  {horse} for {owner of} of {Ulysses S. Grant}
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:horse . resource:Ulysses_S._Grant property:owner_of ?q }
select distinct ?obj where { ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q34836> . ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P1830> . ?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:Q34836 wdt:P1830 ?obj . ?obj wdt:P31 wd:Q726 } 
Cincinnati