Unexpected behavior selecting pages using search operator “!~”

From semantic-mediawiki.org

Issue

When attempting to select pages with multiple values for a property, using the “not like” operator results in unexpected results.

For example:

Page_A has been assigned [[subject::Page_1]] and [[subject::Page_2]] (both showing up correctly in page properties overview)

Querying for ...[[subject::Page_1]] [[Subject::!~Page_2]]... will print Page_A as a result (erroneously imho)

f.e.: {{#ask: [[Category:whatever]] [[subject::Page_1]] [[Subject::!~Page_2]] }}

12:21, 25 May 2021

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.

12:52, 25 May 2021

Thank you Karsten. If it's confirmed that this indeed is not the intended result of the query, I will report it as an issue on Github. I'll try to fabricate a live example as well...

13:00, 25 May 2021