I don't think you could obtain it in the lab.....I mean, electrolysis is out of question, and even the strong reductants, like MgH2 or H2 cannot be used in a solvent. An industrial method could be treating the solutiuon of phosphoric acid with calcium hydroxide, and then evaporating and heating the residuum with graphite, at 850°C..