Question: Which has a lesser duration, Mulan (whose genre is action film) or Team America: World Police?
Choices:
Curse of the Golden Flower
Team America: World Police
Pleasantville
The Towering Inferno
Talk to Her
Rebecca
The Hunchback of Notre Dame
A Prairie Home Companion
Training Day
Mulan
Program:
function: Find
inputs: action film
function: Relate
dependencies: 0
inputs: genre
backward
function: Find
inputs: Mulan
function: And
dependencies: 1
2
function: Find
inputs: Team America: World Police
function: SelectBetween
dependencies: 3
4
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Mulan" . ?e <genre> ?e_1 . ?e_1 <pred:name> "action film" .   } UNION { ?e <pred:name> "Team America: World Police" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Team America: World Police