Question: What legislative term was followed by the 7th United States Congress and ended before 1965?
Choices:
6th United States Congress
35th Canadian Parliament
39th Canadian Parliament
4th United States Congress
32nd United States Congress
5th United States Congress
26th United States Congress
110th United States Congress
17th United States Congress
31st United States Congress
Program:
function: Find
inputs: 7th United States Congress
function: Relate
dependencies: 0
inputs: followed by
backward
function: FilterConcept
dependencies: 1
inputs: legislative term
function: FindAll
function: FilterYear
dependencies: 3
inputs: end time
1965
<
function: FilterConcept
dependencies: 4
inputs: legislative term
function: And
dependencies: 2
5
function: What
dependencies: 6
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "legislative term" . ?e <followed_by> ?e_1 . ?e_1 <pred:name> "7th United States Congress" .  ?e <end_time> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1965 ) .  }
Answer: 6th United States Congress