(S (S (S (VP (VBN Located) (NP (NP (BASENP (NN 57) (NNS miles)) (PP (IN from) (BASENP (NNP Edinburgh) (COMMA ,) (NNP Scotland)))) (CC and) (NP (BASENP (QP (RB over) (NN 300)) (NNS miles)) (PP (IN from) (BASENP (NNP London))))))) (COMMA ,) (S (BASENP (NNP Berwick)) (VP (VP (VBD was) (NP (NP (BASENP (DT a) (JJ frequent) (NN bone)) (PP (IN of) (BASENP (NN contention)))) (PP (IN in) (NP (BASENP (DT the) (NN border) (NNS wars)) (PP (IN between) (NP (BASENP (DT the) (JJ independent) (NNS kingdoms)) (PP (IN of) (BASENP (NNP England) (CC and) (NNP Scotland))))))))) (COMMA ,) (S (VP (VP (VP (VBG changing) (BASENP (NNS hands))) (NP (QP (ADVP (IN at) (JJS least)) (NN 13)) (NNS times))) (NP (CC between) (BASENP (NN 1147) (CC and) (NN 1482)))))))) (PERIOD .))