kont.txt is a decision tree based legal expert system, and a tool for legal education. It lets you define legal words as terms within a context of other terms, and test the validity of your understanding by providing an 'expert'-system like interview based on your definitions.
I use it to teach law.
You can download the deployed installable windows version at: http://moenig.org/kontext/kontextSetup.exe
This also contains all the sources, documentation and sample knowledge bases.
A (slightly outdated) English documentation is available at: http://moenig.org/kontext/kontext_english.pdf
And a (slightly outdated) German documentation at: http://moenig.org/kontext/kontext_deutsch.pdf