Question: What are the houses of the legislature where the leader is called Pullaiahgaripalli ?
SPARQL query: 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>}
Answer: [Rajya Sabha, Lok Sabha] are the houses of the legislature where the leader is called Pullaiahgaripalli.