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