Question: What is the legislative term that was followed by the 40th Canadian Parliament?
Choices:
25th United States Congress
109th United States Congress
38th Canadian Parliament
112th United States Congress
30th United States Congress
107th United States Congress
39th Canadian Parliament
105th United States Congress
17th United States Congress
2nd United States Congress
Answer: 38th Canadian Parliament
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "legislative term" . ?e_1 <follows> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "legislative term" . ?e_1 <followed_by> ?e_2 . ?e_2 <pred:name> "40th Canadian Parliament" .   }
Program:
function: Find
inputs: 40th Canadian Parliament
function: Relate
dependencies: 0
inputs: followed by
backward
function: FilterConcept
dependencies: 1
inputs: legislative term
function: Relate
dependencies: 2
inputs: follows
forward
function: FilterConcept
dependencies: 3
inputs: legislative term
function: What
dependencies: 4