Parser for easier query language