Question: How long is Bad Teacher starring John Michael Higgins?
Choices:
239 second
5615 second
176 minute
92 minute
1744 second
3751 second
174 minute
195 minute
20 minute
786 minute
Answer: 92 minute
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:name> "Bad Teacher" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "John Michael Higgins" .  ?e <duration> ?pv .  }
Program:
function: Find
inputs: John Michael Higgins
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: Bad Teacher
function: And
dependencies: 1
2
function: QueryAttr
dependencies: 3
inputs: duration