Question: Which Academy Awards ceremony is followed by the 39th Academy Awards and has an edition number of 38?
Choices:
43rd Academy Awards
64th Academy Awards
81st Academy Awards
29th Academy Awards
35th Academy Awards
25th Academy Awards
38th Academy Awards
60th Academy Awards
72nd Academy Awards
79th Academy Awards
Program:
function: Find
inputs: 39th Academy Awards
function: Relate
dependencies: 0
inputs: followed by
backward
function: FilterConcept
dependencies: 1
inputs: Academy Awards ceremony
function: FindAll
function: FilterStr
dependencies: 3
inputs: edition number
38
function: FilterConcept
dependencies: 4
inputs: Academy Awards ceremony
function: And
dependencies: 2
5
function: What
dependencies: 6
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "Academy Awards ceremony" . ?e <followed_by> ?e_1 . ?e_1 <pred:name> "39th Academy Awards" .  ?e <edition_number> ?pv . ?pv <pred:value> "38" .  }
Answer: 38th Academy Awards