list the people with final resting place as bangor cathedral and has gruffudd ap cynan as predecessor ?
SELECT DISTINCT var_uri where brack_open var_uri dbo_restingPlace dbr_Bangor_Cathedral sep_dot var_uri dbp_predecessor dbr_Gruffudd_ap_Cynan sep_dot var_uri a dbo_Person brack_close