Question: Ernest Rutherford obtained how many academic degrees?
Choices:
1
2
3
4
5
6
7
8
9
10
Answer: 3
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "academic degree" . ?e_1 <academic_degree> ?e . ?e_1 <pred:name> "Ernest Rutherford" .   }
Program:
function: Find
inputs: Ernest Rutherford
function: Relate
dependencies: 0
inputs: academic degree
forward
function: FilterConcept
dependencies: 1
inputs: academic degree
function: Count
dependencies: 2