Question: How many MTV Movie Awards did Denzel Washington receive, or had a pre-1996 establishment?
Choices: 2
3
4
5
6
7
8
9
10
11
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> "Denzel Washington" .  } UNION { ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1996 ) .  } }
Program:
function: Find
inputs: Denzel Washington
function: Relate
dependencies: 0
inputs: award received
forward
function: FilterConcept
dependencies: 1
inputs: MTV Movie Awards
function: FindAll
function: FilterYear
dependencies: 3
inputs: inception
1996
<
function: FilterConcept
dependencies: 4
inputs: MTV Movie Awards
function: Or
dependencies: 2
5
function: Count
dependencies: 6
Answer: 2