( mineral ( ( The ( crystal-forming substances ) ) ( , ( ( such ( as ( ( ( ( ( quartz , ) apatite ) , ) or ) ( ( ( various carbonates ) , ) ( that ( ( make up ) rock ) ) ) ) ) ) . ) ) ) )
(ROOT (FRAG (ADVP (RB mineral)) (NP (DT The) (JJ crystal-forming) (NNS substances)) (, ,) (PP (JJ such) (IN as) (NP (NP (NN quartz)) (, ,) (NP (NN apatite)) (, ,) (CC or) (NP (NP (JJ various) (NNS carbonates)) (, ,) (SBAR (WHNP (WDT that)) (S (VP (VBP make) (PRT (RP up)) (NP (NN rock)))))))) (. .)))
mineral     The crystal-forming substances, such as quartz, apatite, or various carbonates, that make up rock.
(ROOT (S (NP (DT A) (NN mineral)) (VP (VBZ is) (VP (VBN described) (PP (IN as) (NP (NP (DT a) (JJ natural) (NN substance)) (SBAR (WHNP (WDT that)) (S (VP (VBZ makes) (PRT (RP up)) (NP (NNS rocks))))))))) (. .)))