 What color was it painted?
( ( What color ) ( ( ( was it ) painted ) ? ) )
(ROOT (SBARQ (WHNP (WDT What) (NN color)) (SQ (VBD was) (NP (PRP it)) (VP (VBN painted))) (. ?)))
What color was used to painting it?
( ( What color ) ( ( was ( used ( to ( painting it ) ) ) ) ? ) )
(ROOT (SBARQ (WHNP (WDT What) (NN color)) (SQ (VBD was) (VP (VBN used) (PP (TO to) (S (VP (VBG painting) (NP (PRP it))))))) (. ?)))