query to get metadata of FIRST sources