Question: How many television programs are there of the genre musical or that were nominated for a Primetime Emmy Award for Outstanding Writing for a Miniseries, Movie or a Dramatic Special?
Choices: 0
1
2
3
4
5
6
7
8
9
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "television program" .  { ?e <genre> ?e_1 . ?e_1 <pred:name> "musical" .  } UNION { ?e <nominated_for> ?e_1 . ?e_1 <pred:name> "Primetime Emmy Award for Outstanding Writing for a Miniseries, Movie or a Dramatic Special" .  } }
Program:
function: Find
inputs: musical
function: Relate
dependencies: 0
inputs: genre
backward
function: FilterConcept
dependencies: 1
inputs: television program
function: Find
inputs: Primetime Emmy Award for Outstanding Writing for a Miniseries, Movie or a Dramatic Special
function: Relate
dependencies: 3
inputs: nominated for
backward
function: FilterConcept
dependencies: 4
inputs: television program
function: Or
dependencies: 2
5
function: Count
dependencies: 6
Answer: 2