By definition, the set #QQ# of rational numbers is basically all the numbers that can be written as an integer over an integer, ie all the fractions. #QQ={m/n | m,n in ZZ, n!=0}#.
Since #-12# can be written as #-12/1#, it implies it is a rational number, ie #-12 in QQ#.