Question: How many science academic awards has the designer Norman Foster won?
Choices:
1
2
3
4
5
6
7
8
9
10
Answer: 1
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "academic discipline" . ?e_1 <award_disciplines_or_subjects> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "science award" . ?e_1 <winner> ?e_2 . ?e_2 <pred:name> "Norman Foster" . ?e_2 <occupation> ?e_3 . ?e_3 <pred:name> "designer" .   }
Program:
function: Find
inputs: designer
function: Relate
dependencies: 0
inputs: occupation
backward
function: Find
inputs: Norman Foster
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: winner
backward
function: FilterConcept
dependencies: 4
inputs: science award
function: Relate
dependencies: 5
inputs: award disciplines or subjects
forward
function: FilterConcept
dependencies: 6
inputs: academic discipline
function: Count
dependencies: 7