Question: What number of schools are affiliated with Harvard University?
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> "school" . ?e <affiliation> ?e_1 . ?e_1 <pred:name> "Harvard University" .   }
Program:
function: Find
inputs: Harvard University
function: Relate
dependencies: 0
inputs: affiliation
backward
function: FilterConcept
dependencies: 1
inputs: school
function: Count
dependencies: 2