for which team did allan loney and allan loney both play atleast once ?
SELECT DISTINCT var_uri where brack_open dbr_Allan_Loney dbp_playedFor var_uri sep_dot dbr_Allan_Loney dbp_playedFor var_uri brack_close