Toward real-time data query systems in HEP