which party has won the united kingdom local elections and has been in the mayor of london
SELECT DISTINCT var_uri where brack_open dbr_United_Kingdom_local_elections,_1977 dbp_party var_uri sep_dot dbr_Mayor_of_London dbp_party var_uri brack_close