Question: What is the length of the visual artwork that succeeds Brazil (that has Michael Palin as a cast member)?
Choices:
215 minute
229 minute
388 minute
6 month
81 minute
186 minute
126 minute
168 minute
13 minute
2477 second
Program:
function: Find
inputs: Michael Palin
function: Relate
dependencies: 0
inputs: cast member
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
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 <cast_member> ?e_2 . ?e_2 <pred:name> "Michael Palin" .  ?e <duration> ?pv .  }
Answer: 126 minute