Question: How many science award are conferred by an association with Adam Smith (the one whose CANTIC-ID is a10157955) as 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> "Adam Smith" . ?e_2 <CANTIC-ID> ?pv . ?pv <pred:value> "a10157955" .   }
Program:
function: Find
inputs: Adam Smith
function: FilterStr
dependencies: 0
inputs: CANTIC-ID
a10157955
function: Relate
dependencies: 1
inputs: member of
forward
function: FilterConcept
dependencies: 2
inputs: association
function: Relate
dependencies: 3
inputs: conferred by
backward
function: FilterConcept
dependencies: 4
inputs: science award
function: Count
dependencies: 5