name the tv show whose cast member is peter capaldi and is related to class ?
SELECT DISTINCT var_uri where brack_open var_uri dbo_starring dbr_Peter_Capaldi sep_dot var_uri dbo_related dbr_Class_ attr_open 2016_TV_series attr_close sep_dot var_uri a dbo_TelevisionShow brack_close