which party won both national union of railwaymen and national amalgamated union of labour ?
SELECT DISTINCT var_uri where brack_open dbr_National_Union_of_Railwaymen dbo_affiliation var_uri sep_dot dbr_National_Amalgamated_Union_of_Labour dbo_affiliation var_uri brack_close