Were you in company with anyone?
( ( ( Were you ) ( in ( company ( with anyone ) ) ) ) ? )
(ROOT (SQ (VBD Were) (NP (PRP you)) (PP (IN in) (NP (NP (NN company)) (PP (IN with) (NP (NN anyone))))) (. ?)))
Was anyone with you?
( ( ( Was anyone ) ( with you ) ) ? )
(ROOT (SQ (VBD Was) (NP (NN anyone)) (PP (IN with) (NP (PRP you))) (. ?)))