Question: What is the duration for Heroes (the one whose genre is comedy-drama)?
Choices: 197 minute
209 minute
91.0 minute
186 minute
112 minute
80 minute
25 minute
220 minute
2396 second
52 minute
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:name> "Heroes" . ?e <genre> ?e_1 . ?e_1 <pred:name> "comedy-drama" .  ?e <duration> ?pv .  }
Program:
function: Find
inputs: comedy-drama
function: Relate
dependencies: 0
inputs: genre
backward
function: Find
inputs: Heroes
function: And
dependencies: 1
2
function: QueryAttr
dependencies: 3
inputs: duration
Answer: 112 minute