Question: What is the number of candidates in the 2008 United States presidential election?
Choices:
1
2
3
4
5
6
7
8
9
10
Answer: 2
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "human" . ?e_1 <candidate> ?e . ?e_1 <pred:name> "United States presidential election, 2008" .   }
Program:
function: Find
inputs: United States presidential election, 2008
function: Relate
dependencies: 0
inputs: candidate
forward
function: FilterConcept
dependencies: 1
inputs: human
function: Count
dependencies: 2