Question: How many television series have Ron Howard (the one that has the occupation of film producer) as director of photography or were nominated for Primetime Emmy Awards for Outstanding Lead Actress in a Drama Series?
Choices: 22
23
24
25
26
27
28
29
30
31
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "television series" .  { ?e <director_of_photography> ?e_1 . ?e_1 <pred:name> "Ron Howard" . ?e_1 <occupation> ?e_2 . ?e_2 <pred:name> "film producer" .  } UNION { ?e <nominated_for> ?e_1 . ?e_1 <pred:name> "Primetime Emmy Award for Outstanding Lead Actress in a Drama Series" .  } }
Program:
function: Find
inputs: film producer
function: Relate
dependencies: 0
inputs: occupation
backward
function: Find
inputs: Ron Howard
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: director of photography
backward
function: FilterConcept
dependencies: 4
inputs: television series
function: Find
inputs: Primetime Emmy Award for Outstanding Lead Actress in a Drama Series
function: Relate
dependencies: 6
inputs: nominated for
backward
function: FilterConcept
dependencies: 7
inputs: television series
function: Or
dependencies: 5
8
function: Count
dependencies: 9
Answer: 27