How can I make query to create reports to all users with this structure. I read the documentations, but it seems I can't really make those kinds of queries, for eg: I want to query all users that have insurances of animals that are active.
users
uuid
...
insurances -> Animals
1 -> state:active
date:...
2 -> state:requested
date:...
...