Question: How many times were Mary-Louise Parke or Kristin Chenoweth nominated for a theatre award?
Choices:
2
3
4
5
6
7
8
9
10
11
Answer: 2
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "theatre award" .  { ?e_1 <nominated_for> ?e . ?e_1 <pred:name> "Mary-Louise Parker" .  } UNION { ?e_1 <nominated_for> ?e . ?e_1 <pred:name> "Kristin Chenoweth" .  } }
Program:
function: Find
inputs: Mary-Louise Parker
function: Relate
dependencies: 0
inputs: nominated for
forward
function: FilterConcept
dependencies: 1
inputs: theatre award
function: Find
inputs: Kristin Chenoweth
function: Relate
dependencies: 3
inputs: nominated for
forward
function: FilterConcept
dependencies: 4
inputs: theatre award
function: Or
dependencies: 2
5
function: Count
dependencies: 6