Question: Which legislative term is followed by the agent that began in 2003?
Choices:
2nd United States Congress
8th United States Congress
39th Canadian Parliament
31st United States Congress
107th United States Congress
110th United States Congress
13th United States Congress
40th Canadian Parliament
25th United States Congress
35th Canadian Parliament
Answer: 107th United States Congress
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "legislative term" . ?e_1 <follows> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "agent" . ?e_1 <start_time> ?pv . ?pv <pred:year> 2003 .   }
Program:
function: FindAll
function: FilterYear
dependencies: 0
inputs: start time
2003
=
function: FilterConcept
dependencies: 1
inputs: agent
function: Relate
dependencies: 2
inputs: follows
forward
function: FilterConcept
dependencies: 3
inputs: legislative term
function: What
dependencies: 4