Question: Which movie is shorter, Enron: The Smartest Guys in the Room or Sex and the City (the one whose producer is Sarah Jessica Parker)?
Choices:
Training Day
Rebecca
The Fifth Element
Talk to Her
Pleasantville
Curse of the Golden Flower
A Prairie Home Companion
Enron: The Smartest Guys in the Room
The Towering Inferno
The Hunchback of Notre Dame
Program:
function: Find
inputs: Enron: The Smartest Guys in the Room
function: Find
inputs: Sarah Jessica Parker
function: Relate
dependencies: 1
inputs: producer
backward
function: Find
inputs: Sex and the City
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Enron: The Smartest Guys in the Room" .  } UNION { ?e <pred:name> "Sex and the City" . ?e <producer> ?e_1 . ?e_1 <pred:name> "Sarah Jessica Parker" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Enron: The Smartest Guys in the Room