Question: How many Primetime Emmy Awards whose official website is http://www.emmys.com/ or that was nominated to Ben Kingsley?
Choices:
16
17
18
19
20
21
22
23
24
25
Answer: 21
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "Primetime Emmy Award" .  { ?e <official_website> ?pv . ?pv <pred:value> "http://www.emmys.com/" .  } UNION { ?e_1 <nominated_for> ?e . ?e_1 <pred:name> "Ben Kingsley" .  } }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: official website
http://www.emmys.com/
function: FilterConcept
dependencies: 1
inputs: Primetime Emmy Award
function: Find
inputs: Ben Kingsley
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