Question: Which property has a shorter running time, The Amazing Spider-Man (a notable work of Emma Stone) or Flashdance?
Choices:
The Towering Inferno
The Amazing Spider-Man
Talk to Her
The Fifth Element
Training Day
Flashdance
Curse of the Golden Flower
Pleasantville
The Hunchback of Notre Dame
A Prairie Home Companion
Answer: Flashdance
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Flashdance" .  } UNION { ?e <pred:name> "The Amazing Spider-Man" . ?e_1 <notable_work> ?e . ?e_1 <pred:name> "Emma Stone" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Flashdance
function: Find
inputs: Emma Stone
function: Relate
dependencies: 1
inputs: notable work
forward
function: Find
inputs: The Amazing Spider-Man
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: duration
less