DOC: add doc examples for not and for a more complex query
ENH: fix not expressions