Table events

predicate events(@event id, string name, @type declaring_type_id, @type_or_ref type_id, @event unbound_id)