Initial support for querying based on an katja:event()