Question: How many science awards confer the association where James Ivory (the one that was educated at the University of Edinburgh) is a member?
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 <conferred_by> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "association" . ?e_2 <member_of> ?e_1 . ?e_2 <pred:name> "James Ivory" . ?e_2 <educated_at> ?e_3 . ?e_3 <pred:name> "University of Edinburgh" .   }
Program:
function: Find
inputs: University of Edinburgh
function: Relate
dependencies: 0
inputs: educated at
backward
function: Find
inputs: James Ivory
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: member of
forward
function: FilterConcept
dependencies: 4
inputs: association
function: Relate
dependencies: 5
inputs: conferred by
backward
function: FilterConcept
dependencies: 6
inputs: science award
function: Count
dependencies: 7