Question: How many Primetime Emmy Awards were either given to Billy Crystal or originate in the United States of America?
Choices:
21
22
23
24
25
26
27
28
29
30
Answer: 25
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "Primetime Emmy Award" .  { ?e <winner> ?e_1 . ?e_1 <pred:name> "Billy Crystal" .  } UNION { ?e <country> ?e_1 . ?e_1 <pred:name> "United States of America" .  } }
Program:
function: Find
inputs: Billy Crystal
function: Relate
dependencies: 0
inputs: winner
backward
function: FilterConcept
dependencies: 1
inputs: Primetime Emmy Award
function: Find
inputs: United States of America
function: Relate
dependencies: 3
inputs: country
backward
function: FilterConcept
dependencies: 4
inputs: Primetime Emmy Award
function: Or
dependencies: 2
5
function: Count
dependencies: 6