SELECT DISTINCT ?uri WHERE { ?x <http://dbpedia.org/property/deputy> <http://dbpedia.org/resource/Chaudhary_Devi_Lal> . ?x <http://dbpedia.org/ontology/otherParty> ?uri . ?x <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://dbpedia.org/ontology/OfficeHolder>}
What are the party of the politicians whose deputy was Chaudhary Devi Lal?
SELECT DISTINCT ?z WHERE { ?x rdf:type ontology:Office_Holder . ?x property:other_party ?z . ?x property:deputy resource:Chaudhary_Devi_Lal }
Janata Dal, Congress Socialist Party, Janata Party, Indian National Congress, Independent politician
The parties of the officeholders with deputy Chaudhary Devi Lal are [Janata Dal, Congress Socialist Party, Janata Party, Indian National Congress, Independent politician].
office holder parties with MP Chaudhari Del Lal [Janata Dal, Congress of the Socialist Party, Janata Party, Indian National Congress, Independent Politics].
The other party of the office holders whose deputy is Chaudhary him are [Janata Dal, Congress Socialist Party, Janata Party, Indian National Congress, Independent politician].
Another office holder party whose deputy is Chaudhary is [Janata Dal, Socialist Congress Party, Janata Party, Indian National Congress, Independent Politics].