Question: what is the number of Governors that is held by George Clinton (who has the Presbyterian religion)
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 1
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "governor" . ?e <officeholder> ?e_1 . ?e_1 <pred:name> "George Clinton" . ?e_1 <religion> ?e_2 . ?e_2 <pred:name> "Presbyterianism" .   }
Program:
function: Find
inputs: Presbyterianism
function: Relate
dependencies: 0
inputs: religion
backward
function: Find
inputs: George Clinton
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: officeholder
backward
function: FilterConcept
dependencies: 4
inputs: governor
function: Count
dependencies: 5