yield spectrum_query