Question: How many Screen Actors Guild Awards were nominated to Ron Howard (who was nominated for Primetime Emmy Award for Outstanding Comedy Series) and have been won by Harry Shum (who is a cast member of Glee: The 3D Concert Movie)?
Choices:
1
2
3
4
5
6
7
8
9
10
Answer: 1
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:name> "Ron Howard" . ?e_1 <nominated_for> ?e_2 . ?e_2 <pred:name> "Primetime Emmy Award for Outstanding Comedy Series" .  ?e <winner> ?e_3 . ?e_3 <pred:name> "Harry Shum" . ?e_4 <cast_member> ?e_3 . ?e_4 <pred:name> "Glee: The 3D Concert Movie" .  }
Program:
function: Find
inputs: Primetime Emmy Award for Outstanding Comedy Series
function: Relate
dependencies: 0
inputs: nominated for
backward
function: Find
inputs: Ron Howard
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: nominated for
forward
function: FilterConcept
dependencies: 4
inputs: Screen Actors Guild Award
function: Find
inputs: Glee: The 3D Concert Movie
function: Relate
dependencies: 6
inputs: cast member
forward
function: Find
inputs: Harry Shum
function: And
dependencies: 7
8
function: Relate
dependencies: 9
inputs: winner
backward
function: FilterConcept
dependencies: 10
inputs: Screen Actors Guild Award
function: And
dependencies: 5
11
function: Count
dependencies: 12