What is the {human} for {commissioned by} of {Taj Mahal}
Who commissioned the Taj Mehal
Who commissioned the Taj Mehal
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:human . resource:Taj_Mahal property:commissioned_by ?d }
select distinct ?obj where { ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q9141> . ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P88> . ?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/Q5> } 
 select distinct ?obj where { wd:Q9141 wdt:P88 ?obj . ?obj wdt:P31 wd:Q5 } 
Shah Jahan