what is the river on which the john w . flannagan dam and john w . flannagan dam exist ?
SELECT DISTINCT var_uri where brack_open dbr_John_W._Flannagan_Dam dbo_river var_uri sep_dot dbr_John_W._Flannagan_Dam dbo_river var_uri brack_close