who was engaged in wars of spanish–american war and war of 1812 ?
SELECT DISTINCT var_uri where brack_open var_uri dbo_battle dbr_Spanish–American_War sep_dot var_uri dbo_battle dbr_War_of_1812 brack_close