Question: How many legislative terms have the participant named John McCain?
Choices:
9
10
11
12
13
14
15
16
17
18
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> "John McCain" .   }
Program:
function: Find
inputs: John McCain
function: Relate
dependencies: 0
inputs: participant
backward
function: FilterConcept
dependencies: 1
inputs: legislative term
function: Count
dependencies: 2