Question: What is the duration of the visual artwork that follows Brazil which was nominated for an Academy Award for Best Writing, Original Screenplay?
Choices:
133 minute
380 minute
121 minute
194 minute
74 minute
76 minute
131 minute
222 minute
72 minute
126 minute
Answer: 126 minute
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "visual artwork" . ?e_1 <followed_by> ?e . ?e_1 <pred:name> "Brazil" . ?e_1 <nominated_for> ?e_2 . ?e_2 <pred:name> "Academy Award for Best Writing, Original Screenplay" .  ?e <duration> ?pv .  }
Program:
function: Find
inputs: Academy Award for Best Writing, Original Screenplay
function: Relate
dependencies: 0
inputs: nominated for
backward
function: Find
inputs: Brazil
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: followed by
forward
function: FilterConcept
dependencies: 4
inputs: visual artwork
function: QueryAttr
dependencies: 5
inputs: duration