Using cutting-edge technology, the researchers spent five years gathering data from about 47 million galaxies and quasars.