Question: How many Screen Actors Guild Awards were nominated to the human who was nominated for the Screen Actors Guild Award for Outstanding Performance by a Cast in a Motion Picture (the award-winning work of this statement is Chocolat)?
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> "Screen Actors Guild Award" . ?e_1 <nominated_for> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "human" . ?e_1 <nominated_for> ?e_2 . ?e_2 <pred:name> "Screen Actors Guild Award for Outstanding Performance by a Cast in a Motion Picture" . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <nominated_for> ; <pred:fact_t> ?e_2 ] <for_work> ?qpv . ?qpv <pred:value> "Chocolat" .   }
Program:
function: Find
inputs: Screen Actors Guild Award for Outstanding Performance by a Cast in a Motion Picture
function: Relate
dependencies: 0
inputs: nominated for
backward
function: QFilterStr
dependencies: 1
inputs: for work
Chocolat
function: FilterConcept
dependencies: 2
inputs: human
function: Relate
dependencies: 3
inputs: nominated for
forward
function: FilterConcept
dependencies: 4
inputs: Screen Actors Guild Award
function: Count
dependencies: 5