Question: How many Primetime Emmy Awards did either The Practice receive or Anne Bancroft get nominated for?
Choices:
3
4
5
6
7
8
9
10
11
12
Answer: 8
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "Primetime Emmy Award" .  { ?e_1 <award_received> ?e . ?e_1 <pred:name> "The Practice" .  } UNION { ?e_1 <nominated_for> ?e . ?e_1 <pred:name> "Anne Bancroft" .  } }
Program:
function: Find
inputs: The Practice
function: Relate
dependencies: 0
inputs: award received
forward
function: FilterConcept
dependencies: 1
inputs: Primetime Emmy Award
function: Find
inputs: Anne Bancroft
function: Relate
dependencies: 3
inputs: nominated for
forward
function: FilterConcept
dependencies: 4
inputs: Primetime Emmy Award
function: Or
dependencies: 2
5
function: Count
dependencies: 6