Conclusion: a straight-forward query language is not enough. One needs to use programs, in particular, large numbers of small program modules (object-orientation) and/or a rule-based system.
Our colloquium application uses Lisp as programming language.