Code for our WSDM 2022 paper. CLOCQ is a framework which allows efficient access to knowledge bases (KB) for functionalities related to question answering (QA). CLOCQ can retrieve a set of relevant facts from the KB for a given user question. Further, it provides efficient retrieval of KB-neighborhoods, KB-connectivities and labels, aliases etc.