(S (S (NP (NP (BASENP (NNP Romania) (POS 's)) (BASENP (JJ ruling) (NNP Social) (NNP Democrat) (NNP Party))) (PRN (LRB -LRB-) (BASENP (NNP PSD)) (RRB -RRB-))) (VP (VBZ has) (VP (VP (VBN emerged) (ADVP (RB ahead))) (PP (IN in) (NP (BASENP (NN yesterday) (POS 's)) (BASENP (ADJP (JJ legislative) (CC and) (JJ presidential)) (NNS elections))))))) (PERIOD .))