( ( In 1831 ) ( ( Michael Faraday ) ( ( ( produced ( an ( electric current ) ) ) ( by ( ( moving ( a magnet ) ) ( inside ( ( a coil ) ( of wire ) ) ) ) ) ) . ) ) )
(ROOT (S (PP (IN In) (NP (CD 1831))) (NP (NNP Michael) (NNP Faraday)) (VP (VBD produced) (NP (DT an) (JJ electric) (NN current)) (PP (IN by) (S (VP (VBG moving) (NP (DT a) (NN magnet)) (PP (IN inside) (NP (NP (DT a) (NN coil)) (PP (IN of) (NP (NN wire))))))))) (. .)))
In 1831 Michael Faraday produced an electric current by moving a magnet inside a coil of wire.
(ROOT (S (NP (NNP Alternative) (JJ current)) (VP (VBZ is) (VP (VBN produced) (SBAR (WHADVP (WRB when)) (S (NP (DT a) (NN magnet) (CC or) (NN coil)) (VP (VBZ moves) (ADVP (RB back) (CC and) (RB forth)) (ADVP (RB repeatedly))))))) (. .)))