What is the {dynasty} for {country of citizenship} of {Chandragupta Maurya}
The Chandragupta Maurya belonged to which dynasty?
Which dynasty did Chandragupta Maurya belong to?
SELECT DISTINCT ?d WHERE { resource:Chandragupta_Maurya property:country_of_citizenship ?d . ?d rdf:type ontology:dynasty }
select distinct ?obj where { ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q188541> . ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P27> . ?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/Q164950> } 
 select distinct ?obj where { wd:Q188541 wdt:P27 ?obj . ?obj wdt:P31 wd:Q164950 } 