Question: What is the number of MTV movie awards that has an inception time prior to 1992 or that got nominated to Wayne's World.
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 3
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "MTV Movie Awards" .  { ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1992 ) .  } UNION { ?e_1 <nominated_for> ?e . ?e_1 <pred:name> "Wayne's World" .  } }
Program:
function: FindAll
function: FilterYear
dependencies: 0
inputs: inception
1992
<
function: FilterConcept
dependencies: 1
inputs: MTV Movie Awards
function: Find
inputs: Wayne's World
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