Question: What legislative term follows the agent which has the end time 2011-01-03?
Choices:
107th United States Congress
25th United States Congress
35th Canadian Parliament
31st United States Congress
9th United States Congress
110th United States Congress
39th Canadian Parliament
109th United States Congress
32nd United States Congress
112th United States Congress
Program:
function: FindAll
function: FilterDate
dependencies: 0
inputs: end time
2011-01-03
=
function: FilterConcept
dependencies: 1
inputs: agent
function: Relate
dependencies: 2
inputs: follows
backward
function: FilterConcept
dependencies: 3
inputs: legislative term
function: What
dependencies: 4
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "legislative term" . ?e <follows> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "agent" . ?e_1 <end_time> ?pv . ?pv <pred:date> "2011-01-03"^^xsd:date .   }
Answer: 112th United States Congress