which political ideology does labour party and new south wales state election, 2007 follow?
(AND government.political_ideology (AND (JOIN government.political_ideology.political_parties (JOIN (R government.parliamentary_election.government_formed_by) m.09yzpy)) (JOIN (R government.political_party.ideology) m.01m_p5)))