Question: Which movie is shorter, Road Trip or Logan (the one that is inspired by Little Miss Sunshine)?
Choices:
A Prairie Home Companion
Training Day
Rebecca
The Hunchback of Notre Dame
Road Trip
The Towering Inferno
The Fifth Element
Talk to Her
Logan
Curse of the Golden Flower
Program:
function: Find
inputs: Road Trip
function: Find
inputs: Little Miss Sunshine
function: Relate
dependencies: 1
inputs: inspired by
backward
function: Find
inputs: Logan
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Road Trip" .  } UNION { ?e <pred:name> "Logan" . ?e <inspired_by> ?e_1 . ?e_1 <pred:name> "Little Miss Sunshine" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Road Trip