in which common territory did war of the spanish succession and the roman catholic diocese of gibraltar take place ?
SELECT DISTINCT var_uri where brack_open dbr_War_of_the_Spanish_Succession dbo_territory var_uri sep_dot dbr_Roman_Catholic_Diocese_of_Gibraltar dbo_territory var_uri brack_close