Question: How many Summer Olympic Games are the main subject of Chariots of Fire (which received at the 54th Academy Awards) or have a point in time before 2004?
Choices: 24
25
26
27
28
29
30
31
32
33
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "Summer Olympic Games" .  { ?e_1 <main_subject> ?e . ?e_1 <pred:name> "Chariots of Fire" . ?e_1 <award_received> ?e_2 . ?e_2 <pred:name> "54th Academy Awards" .  } UNION { ?e <point_in_time> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 2004 ) .  } }
Program:
function: Find
inputs: 54th Academy Awards
function: Relate
dependencies: 0
inputs: award received
backward
function: Find
inputs: Chariots of Fire
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: main subject
forward
function: FilterConcept
dependencies: 4
inputs: Summer Olympic Games
function: FindAll
function: FilterYear
dependencies: 6
inputs: point in time
2004
<
function: FilterConcept
dependencies: 7
inputs: Summer Olympic Games
function: Or
dependencies: 5
8
function: Count
dependencies: 9
Answer: 24