Question: How many MTV Movie Awards were nominated for Independence Day (the one that has Mae Whitman as a cast member) or have an inception time that is not in 1992?
Choices: 0
1
2
3
4
5
6
7
8
9
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "MTV Movie Awards" .  { ?e_1 <nominated_for> ?e . ?e_1 <pred:name> "Independence Day" . ?e_1 <cast_member> ?e_2 . ?e_2 <pred:name> "Mae Whitman" .  } UNION { ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 1992 ) .  } }
Program:
function: Find
inputs: Mae Whitman
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: Independence Day
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: nominated for
forward
function: FilterConcept
dependencies: 4
inputs: MTV Movie Awards
function: FindAll
function: FilterYear
dependencies: 6
inputs: inception
1992
!=
function: FilterConcept
dependencies: 7
inputs: MTV Movie Awards
function: Or
dependencies: 5
8
function: Count
dependencies: 9
Answer: 4