A Sphinx API abstraction layer for normlised querying