list tv shows with producer as gary reilly and company is gary reilly productions ?
SELECT DISTINCT var_uri where brack_open var_uri dbo_company dbr_Gary_Reilly_Productions sep_dot var_uri dbo_producer dbr_Gary_Reilly sep_dot var_uri a dbo_TelevisionShow brack_close