Question: Harvard Graduate School of Design alumnus Philip Johnson earned how many science awards?
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> "science award" . ?e <winner> ?e_1 . ?e_1 <pred:name> "Philip Johnson" . ?e_1 <educated_at> ?e_2 . ?e_2 <pred:name> "Harvard Graduate School of Design" .   }
Program:
function: Find
inputs: Harvard Graduate School of Design
function: Relate
dependencies: 0
inputs: educated at
backward
function: Find
inputs: Philip Johnson
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: winner
backward
function: FilterConcept
dependencies: 4
inputs: science award
function: Count
dependencies: 5