The present application discloses compounds capable of modulating the activity of histone demethylases (HDMEs), which are useful for prevention and/or treatment of diseases in which genomic dysregulation is involved in the pathogenesis, such as e.g. cancer. The present application also discloses pharmaceutical compositions comprising said compounds and the use of such compounds as a medicament. The compounds take the form (I).