( Demagnetization ( ( is ( prevented ( by ( ( the presence ) ( of ( the ( nearby ( permanent magnet ) ) ) ) ) ) ) ) . ) )
(ROOT (S (NP (NNP Demagnetization)) (VP (VBZ is) (VP (VBN prevented) (PP (IN by) (NP (NP (DT the) (NN presence)) (PP (IN of) (NP (DT the) (JJ nearby) (JJ permanent) (NN magnet))))))) (. .)))
Demagnetization is prevented by the presence of the nearby permanent magnet.
(ROOT (S (NP (NNP Demagnetization)) (VP (VBZ is) (NP (NP (DT the) (NN process)) (SBAR (WHPP (IN in) (WHNP (WDT which))) (S (NP (DT a) (NN magnet)) (VP (VBZ loses) (NP (PRP$ its) (JJ magnetic) (NNS properties))))))) (. .)))