Question: How long is Casper (the one whose genre is children's film)?
Choices:
100 minute
74 minute
70 minute
136 minute
213 minute
151 minute
280 minute
55 minute
157 minute
101 minute
Program:
function: Find
inputs: children's film
function: Relate
dependencies: 0
inputs: genre
backward
function: Find
inputs: Casper
function: And
dependencies: 1
2
function: QueryAttr
dependencies: 3
inputs: duration
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:name> "Casper" . ?e <genre> ?e_1 . ?e_1 <pred:name> "children's film" .  ?e <duration> ?pv .  }
Answer: 100 minute