A common data query interface