This document introduces QwalKeko, a tool for querying version control system histories. It allows users to specify code characteristics and changes using a graph query language and logic programming rules. Querying the history involves traversing the version graph and checking if Ekeko logic rules are satisfied in each version. This allows formulating complex refactoring queries, such as finding methods that were pulled up to a parent class, in a declarative way.