This sounds fascinating. Do you have any recommended source to read more about this? Like a book or a paper?
That being said as far as I know there isn't any published works on a "Reverse Query Engine" or RQM for short which is the name we settled on internally for this subsystem within Firestore.