Question: How long is the movie Oliver Twist (the one that has Anthony Newley as a cast member)?
Choices:
33 minute
239 second
165 minute
172 minute
183 minute
102 minute
194 minute
112 minute
145 minute
115.0 minute
Program:
function: Find
inputs: Anthony Newley
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: Oliver Twist
function: And
dependencies: 1
2
function: QueryAttr
dependencies: 3
inputs: duration
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:name> "Oliver Twist" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Anthony Newley" .  ?e <duration> ?pv .  }
Answer: 112 minute