Unexpected behavior selecting pages using search operator “!~”
From semantic-mediawiki.org
Fragment of a discussion from Help talk:Search operators
If it does not work it should be reported at GitHub. It is always best to do with together with a live example on sandbox.semantic-mediawiki.org.