Answer is: quartz will scratch apatite.
Friedrich Mohs devised a scale that tested mineral hardness, which means the resistance of a mineral to being scratched. This scale (from 1 to 10) is known as the Mohs Hardness Test.
Quartz has Mohs hardness 7 and apatite 5, so quartz is harder.
Diamond has hardness 10 and corundum 9.
Talk has hardness 1 and gypsum 2.
Calcite has Mohs hardness 3.