Hi, Juan Arias.
I am a newbie here. And I have only tried to deal with annotation projects with the help of some tools. So I am not very familiar with the projects. You can google it and select a professional toolkit whose way of processing is simple and fast to help you with the related work. Remember to check its free trial package first if possible. I hope you success. Good luck.
Actually, I am more curious about why you are trying to do this. Maybe you can read this documentation first about the "The annotated parameter is called the event parameter. The type of the event parameter is the observed event type, in this case Document. The event parameter may also specify qualifiers.". Hope you can find a feasile solution soon.