Question: Which legislative term ended in 1827?
Choices: 9th United States Congress
110th United States Congress
4th United States Congress
106th United States Congress
17th United States Congress
35th Canadian Parliament
18th United States Congress
25th United States Congress
23rd United States Congress
19th United States Congress
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "legislative term" . ?e <end_time> ?pv . ?pv <pred:year> 1827 .  }
Program:
function: FindAll
function: FilterYear
dependencies: 0
inputs: end time
1827
=
function: FilterConcept
dependencies: 1
inputs: legislative term
function: What
dependencies: 2
Answer: 19th United States Congress