Characterization of the Expressivity of Existential Rule Queries