on 2007-10-17, which legislative session ended?
(AND government.legislative_session (JOIN government.legislative_session.date_ended 2007-10-17^^http://www.w3.org/2001/XMLSchema#date))