Question: How many Screen Actors Guild Awards were received by Sidney Poitier or Allison Janney?
Choices:
3
4
5
6
7
8
9
10
11
12
Answer: 4
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "Screen Actors Guild Award" .  { ?e_1 <award_received> ?e . ?e_1 <pred:name> "Sidney Poitier" .  } UNION { ?e_1 <award_received> ?e . ?e_1 <pred:name> "Allison Janney" .  } }
Program:
function: Find
inputs: Sidney Poitier
function: Relate
dependencies: 0
inputs: award received
forward
function: FilterConcept
dependencies: 1
inputs: Screen Actors Guild Award
function: Find
inputs: Allison Janney
function: Relate
dependencies: 3
inputs: award received
forward
function: FilterConcept
dependencies: 4
inputs: Screen Actors Guild Award
function: Or
dependencies: 2
5
function: Count
dependencies: 6