query apg file