Question: How many Academy Awards events precede the 80th edition or are the 26th edition of the Academy Awards?
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> "Academy Awards ceremony" .  { ?e_1 <follows> ?e . ?e_1 <pred:name> "80th Academy Awards" .  } UNION { ?e <edition_number> ?pv . ?pv <pred:value> "26" .  } }
Program:
function: Find
inputs: 80th Academy Awards
function: Relate
dependencies: 0
inputs: follows
forward
function: FilterConcept
dependencies: 1
inputs: Academy Awards ceremony
function: FindAll
function: FilterStr
dependencies: 3
inputs: edition number
26
function: FilterConcept
dependencies: 4
inputs: Academy Awards ceremony
function: Or
dependencies: 2
5
function: Count
dependencies: 6