code: def _dm_QQ_numers_denoms(Mq):
      """Returns the numerators and denominators of a DomainMatrix over QQ."""
      elements = _dm_elements(Mq)
      numers = [e.numerator for e in elements]
      denoms = [e.denominator for e in elements]
      return numers, denoms
  
file_path: sympy/sympy/polys/matrices/rref.py
imports: from sympy.polys.domains import ZZ
  from sympy.polys.matrices.sdm import SDM, sdm_irref, sdm_rref_den
  from sympy.polys.matrices.ddm import DDM
  from sympy.polys.matrices.dense import ddm_irref, ddm_irref_den
label_desc: Use image node_id 15 for calling a global function with example usage: _dm_QQ_numers_denoms(Mq) and returns: numers,  denoms