Fork me on GitHub

I'm struggling to understand the query syntax with a reference with the ident. My data is an atom as a map of keys with vectors for each type. I can normalize from the app-root using tree->db and get the query to work. The problem is inside a read I shouldn't be using the app-root. I only have access to the component and the query but that's not enough to normalize the data to use the reference query. Should my atom be stored in a normalize format instead of a map of vectors?