(S (S (NP (BASENP (DT An) (NNP anti-APEC) (NN rally)) (PP (IN through) (NP (BASENP (DT the) (NNS streets)) (PP (IN of) (BASENP (NNP Sydney)))))) (VP (VBZ has) (VP (VP (VBN attracted) (BASENP (QP (RB around) (NN 5000)) (NNS demonstrators))) (COMMA ,) (PP (IN with) (NP (NP (QP (ADVP (RB up) (TO to)) (NN 18)) (NNS arrests)) (CC and) (NP (BASENP (NN two) (NNS police)) (VP (VBN injured)))))))) (PERIOD .))