Query Interface Initial version is implemented