what is the television show whose company is thames and written by gary lightbody ?
SELECT DISTINCT var_uri where brack_open var_uri dbo_company dbr_Thames_ attr_open production_company attr_close sep_dot var_uri dbp_writer dbr_Gary_Lightbody sep_dot var_uri a dbo_TelevisionShow brack_close