Question: List the party of the office holder which also has the affiliation with Congress Socialist party ?
SPARQL query: SELECT DISTINCT ?uri WHERE { ?x <http://dbpedia.org/ontology/otherParty> <http://dbpedia.org/resource/Congress_Socialist_Party> . ?x <http://dbpedia.org/ontology/otherParty> ?uri  . ?x <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://dbpedia.org/ontology/OfficeHolder>}
Answer: The parties of the officeholders whose one party is Congress Socialist Party are [Congress Socialist Party, Indian National Congress, Janata Dal, Janata Party, Independent politician, Socialist Party (India)].