Interface to the Corpus Query Protocol