I haven't tried datascript, which appears to support negation. Maybe I will try that if/when I revisit this interest someday.
You can give http://www.dlvsystem.com/dlv/ a shot!
Alternatively, if you prefer open-source solutions, check https://abcdatalog.seas.harvard.edu/.
Due to a number of complications on my machine, I used DLV.
TY for the link to abcdatalog though!
https://github.com/replikativ/datahike
https://souffle-lang.github.io/docs/home/
You can give http://www.dlvsystem.com/dlv/ a shot!
Alternatively, if you prefer open-source solutions, check https://abcdatalog.seas.harvard.edu/.
Due to a number of complications on my machine, I used DLV.