Question: What was the legislative term of James K. Polk?
Choices:
35th Canadian Parliament
19th United States Congress
105th United States Congress
31st United States Congress
40th Canadian Parliament
39th Canadian Parliament
110th United States Congress
25th United States Congress
32nd United States Congress
103rd United States Congress
Program:
function: Find
inputs: James K. Polk
function: Relate
dependencies: 0
inputs: participant
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 <participant> ?e_1 . ?e_1 <pred:name> "James K. Polk" .   }
Answer: 25th United States Congress