The Query rule defined above included a "WHERE" clause that can define multiple constraints on the nodes included in the results. The standard JCR-SQL2 grammar defined several such constraints, including and, or, not, comparison, property existence, full-text search, same-node, child-node, and descendant-node constraints. ModeShape supports all of these, but adds two others: between and set constraints.