Question: James Spader was a student at how many high schools?
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> "high school" . ?e_1 <educated_at> ?e . ?e_1 <pred:name> "James Spader" .   }
Program:
function: Find
inputs: James Spader
function: Relate
dependencies: 0
inputs: educated at
forward
function: FilterConcept
dependencies: 1
inputs: high school
function: Count
dependencies: 2