Compounds of the form In which Q is selected from -CH=NR12, -W, -CH=2NHR13, -CH=O and -CH(OR17)2 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 and formulations and methods of use of such compounds.