Question: How many TV movies were nominees for the award Halle Berry earned for her work on Introducing Dorothy Dandridge?
Choices:
2
3
4
5
6
7
8
9
10
11
Answer: 8
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "television film" . ?e <nominated_for> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "award" . ?e_2 <award_received> ?e_1 . ?e_2 <pred:name> "Halle Berry" . [ <pred:fact_h> ?e_2 ; <pred:fact_r> <award_received> ; <pred:fact_t> ?e_1 ] <for_work> ?qpv . ?qpv <pred:value> "Introducing Dorothy Dandridge" .   }
Program:
function: Find
inputs: Halle Berry
function: Relate
dependencies: 0
inputs: award received
forward
function: QFilterStr
dependencies: 1
inputs: for work
Introducing Dorothy Dandridge
function: FilterConcept
dependencies: 2
inputs: award
function: Relate
dependencies: 3
inputs: nominated for
backward
function: FilterConcept
dependencies: 4
inputs: television film
function: Count
dependencies: 5