[#20739695] locations can also be associated to accessions. this adds a union to get resource and accession related locations for a repo