Question: Charles B. Rangel participated in how many terms of legislature?
Choices:
4
5
6
7
8
9
10
11
12
13
Answer: 10
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "legislative term" . ?e <participant> ?e_1 . ?e_1 <pred:name> "Charles B. Rangel" .   }
Program:
function: Find
inputs: Charles B. Rangel
function: Relate
dependencies: 0
inputs: participant
backward
function: FilterConcept
dependencies: 1
inputs: legislative term
function: Count
dependencies: 2