Question: How long is the movie Patch Adams (the one that has Bob Gunton as a cast member)?
Choices:
11 minute
110 minute
143 minute
786 minute
87 minute
155 minute
180 minute
198 minute
220 minute
62 minute
Program:
function: Find
inputs: Bob Gunton
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: Patch Adams
function: And
dependencies: 1
2
function: QueryAttr
dependencies: 3
inputs: duration
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:name> "Patch Adams" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Bob Gunton" .  ?e <duration> ?pv .  }
Answer: 110 minute