for which party's pm did john smith serve ?
SELECT DISTINCT var_uri where brack_open dbr_John_Smith_ attr_open Labour_Party_leader attr_close dbp_primeminister var_x sep_dot var_x dbo_party var_uri brack_close