Question: How many MTV Movie Awards were received by Mark Ruffalo or nominated to Robert Pattinson?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 2
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "MTV Movie Awards" .  { ?e_1 <award_received> ?e . ?e_1 <pred:name> "Mark Ruffalo" .  } UNION { ?e_1 <nominated_for> ?e . ?e_1 <pred:name> "Robert Pattinson" .  } }
Program:
function: Find
inputs: Mark Ruffalo
function: Relate
dependencies: 0
inputs: award received
forward
function: FilterConcept
dependencies: 1
inputs: MTV Movie Awards
function: Find
inputs: Robert Pattinson
function: Relate
dependencies: 3
inputs: nominated for
forward
function: FilterConcept
dependencies: 4
inputs: MTV Movie Awards
function: Or
dependencies: 2
5
function: Count
dependencies: 6