Did you write this?
( ( ( Did you ) ( write this ) ) ? )
(ROOT (SQ (VBD Did) (NP (PRP you)) (VP (VB write) (NP (DT this))) (. ?)))
Was it you who jotted this down?
( ( ( ( Was it ) you ) ( who ( ( jotted this ) down ) ) ) ? )
(ROOT (SQ (VBD Was) (NP (PRP it)) (NP (PRP you)) (SBAR (WHNP (WP who)) (S (VP (VBD jotted) (NP (DT this)) (PRT (RP down))))) (. ?)))