You may want to take a look at this thread for an example Fetch query from parent page. This version could certainly be optimized to make it more universal, currently it only works with a particular field structure.
As an alternative, you could create a query api as described here: Panel: querying "site.txt" structure fields as pages/subpages fields' values