DB query over GW network

Silly Question. Anyone Know?

Is there a way to query from a client on one GW to a data source on another GW?

Have you looked at sendRequest?