( Semi-conductors ( ( contain ( ( ( 4 electrons ) , ) ( while ( insulators ( have ( ( ( ( 5 or ) more ) electrons ) ( in ( the ( valence ring ) ) ) ) ) ) ) ) ) . ) )
(ROOT (S (NP (NNS Semi-conductors)) (VP (VBP contain) (NP (NP (CD 4) (NNS electrons)) (, ,) (SBAR (IN while) (S (NP (NNS insulators)) (VP (VBP have) (NP (NP (QP (CD 5) (CC or) (JJR more)) (NNS electrons)) (PP (IN in) (NP (DT the) (JJ valence) (NN ring))))))))) (. .)))
Semi-conductors contain 4 electrons, while insulators have 5 or more electrons in the valence ring.
(ROOT (S (NP (NNP Nitrogen)) (VP (VBZ has) (NP (CD 5) (JJ valence) (NNS electrons))) (. .)))