SELECT DISTINCT ?uri WHERE { ?x <http://dbpedia.org/property/constituency> <http://dbpedia.org/resource/Barasat_(Lok_Sabha_constituency)> . ?x <http://dbpedia.org/ontology/party> ?uri . ?x <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://dbpedia.org/ontology/OfficeHolder>}
From which party is the politician who was selected  in Barasat constituency?
SELECT DISTINCT ?s WHERE { ?u rdf:type ontology:Office_Holder . ?u property:constituency resource:Barasat_(_Lok_Sabha_constituency) . ?u property:party ?s }
Indian National Congress, All India Trinamool Congress, All India Forward Bloc
The political party of the politician whose constituency is Barasat (Lok Sabha constituency) are [Indian National Congress, All India Trinamool Congress, All India Forward Bloc].
[Indian National Congress, All India Trinamool Congress, All India Forward Bloc] is the party of the politician who was selected in Barasat constituency.