Please define your terms. The cardinality of the set of all rationals between any two given numbers, whether rational or irrational is the same as the cardinality of the rationals, yes. The cardinality of interval (q1, q2) where q1 and q2 are rational numbers is the cardinality of R because that is an interval of real numbers.
I don't know what the "I" in "(q1, q2)-I". The set of integers? So that "(q1, q2)- I" is the set of all numbers that are NOT integers between q1 and q2? If so then the answer is as before: If (q1, q2)- I is the set of all non-integer rational numbers between q1 and q2, the cardinality of that set is the cardinality of Q. If (q1, q2)- I is the set of all non-integer real numbers between q1 and q2, the cardinality of that set is the cardinality of R, the set of all real numbers. That is because the set of integers between any two given rational numbers is finite and so does not affect the cardinality of any infinite set.