Question: In 1968, how many theatre awards were nominated to the person that received the Academy Award for Best Actress?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 2
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "theatre award" . ?e_1 <nominated_for> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "human" . ?e_1 <award_received> ?e_2 . ?e_2 <pred:name> "Academy Award for Best Actress" . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <award_received> ; <pred:fact_t> ?e_2 ] <point_in_time> ?qpv . ?qpv <pred:year> 1968 .   }
Program:
function: Find
inputs: Academy Award for Best Actress
function: Relate
dependencies: 0
inputs: award received
backward
function: QFilterYear
dependencies: 1
inputs: point in time
1968
=
function: FilterConcept
dependencies: 2
inputs: human
function: Relate
dependencies: 3
inputs: nominated for
forward
function: FilterConcept
dependencies: 4
inputs: theatre award
function: Count
dependencies: 5