Catalysis of the reaction: CO2 + diphosphate + nicotinate D-ribonucleotide = 5-phospho-alpha-D-ribose 1-diphosphate + 2 H+ + quinolinate.
nicotinate-nucleotide:diphosphate phospho-alpha-D-ribosyltransferase (carboxylating)