Question: How many Primetime Emmy Awards were nominated for Law & Order: Special Victims Unit or are won by Tim Conway?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 5
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "Primetime Emmy Award" .  { ?e_1 <nominated_for> ?e . ?e_1 <pred:name> "Law & Order: Special Victims Unit" .  } UNION { ?e <winner> ?e_1 . ?e_1 <pred:name> "Tim Conway" .  } }
Program:
function: Find
inputs: Law & Order: Special Victims Unit
function: Relate
dependencies: 0
inputs: nominated for
forward
function: FilterConcept
dependencies: 1
inputs: Primetime Emmy Award
function: Find
inputs: Tim Conway
function: Relate
dependencies: 3
inputs: winner
backward
function: FilterConcept
dependencies: 4
inputs: Primetime Emmy Award
function: Or
dependencies: 2
5
function: Count
dependencies: 6