add collect-source-graphs helper fn, add :from validation to :select query, add failed validation example, update validate