Question: What is the number of Primetime Emmy Awards that were received by Maggie Smith (who won a BAFTA Award for Best Actress in a Supporting Role)?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 3
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "Primetime Emmy Award" . ?e_1 <award_received> ?e . ?e_1 <pred:name> "Maggie Smith" . ?e_1 <award_received> ?e_2 . ?e_2 <pred:name> "BAFTA Award for Best Actress in a Supporting Role" .   }
Program:
function: Find
inputs: BAFTA Award for Best Actress in a Supporting Role
function: Relate
dependencies: 0
inputs: award received
backward
function: Find
inputs: Maggie Smith
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: award received
forward
function: FilterConcept
dependencies: 4
inputs: Primetime Emmy Award
function: Count
dependencies: 5