Question: What is the legislative term that followed the 18th United States Congress?
Choices:
31st United States Congress
34th Canadian Parliament
17th United States Congress
25th United States Congress
112th United States Congress
16th United States Congress
39th Canadian Parliament
110th United States Congress
32nd United States Congress
35th Canadian Parliament
Program:
function: Find
inputs: 18th United States Congress
function: Relate
dependencies: 0
inputs: followed by
backward
function: FilterConcept
dependencies: 1
inputs: legislative term
function: What
dependencies: 2
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "legislative term" . ?e <followed_by> ?e_1 . ?e_1 <pred:name> "18th United States Congress" .   }
Answer: 17th United States Congress