That is because limestone is a sedimentary rock and the calcite is a carbonate mineral, by logical deduction, the analogy is pretty much describing what the first and third words are.
So, in the end, a <u>limestone is a rock</u> and <u>calcite is a mineral</u>.