Question: What legislative term was followed by the 31st United States Congress?
Choices: 107th United States Congress
6th United States Congress
13th United States Congress
39th Canadian Parliament
31st United States Congress
14th United States Congress
30th United States Congress
110th United States Congress
32nd United States Congress
35th Canadian Parliament
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "legislative term" . ?e_1 <follows> ?e . ?e_1 <pred:name> "31st United States Congress" .  ?e <followed_by> ?e_2 . ?e_2 <pred:name> "31st United States Congress" .  }
Program:
function: Find
inputs: 31st United States Congress
function: Relate
dependencies: 0
inputs: follows
forward
function: FilterConcept
dependencies: 1
inputs: legislative term
function: Find
inputs: 31st United States Congress
function: Relate
dependencies: 3
inputs: followed by
backward
function: FilterConcept
dependencies: 4
inputs: legislative term
function: And
dependencies: 2
5
function: What
dependencies: 6
Answer: 30th United States Congress