SELECT DISTINCT ?uri WHERE { <http://dbpedia.org/resource/Pullaiahgaripalli> <http://dbpedia.org/property/leaderTitle> ?x . ?x <http://dbpedia.org/property/houses> ?uri . ?x <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://dbpedia.org/ontology/Legislature>}
What are the houses of the legislature where the leader is called Pullaiahgaripalli ?
SELECT DISTINCT ?b WHERE { resource:Pullaiahgaripalli property:leader_title ?h . ?h rdf:type ontology:Legislature . ?h property:houses ?b }
Rajya Sabha, Lok Sabha
[Rajya Sabha, Lok Sabha] are the houses of the legislature where the leader is called Pullaiahgaripalli.
[Rajya Sabha, Lok Sabha] are the houses of the legislature in which the leader is called Pullaiagaripalli.