JJ/HM: Raise MalformedQueryException as in owlim
JJ/HM: Removed owlim