Learning AQL