Implemented SequenceQueryProcessor. Maybe should add a regex query