Question: Which has a lesser duration, Georgia (which has John C. Reilly as a cast member) or Terms of Endearment?
Choices:
Talk to Her
The Fifth Element
Pleasantville
The Towering Inferno
Training Day
Rebecca
Georgia
Curse of the Golden Flower
A Prairie Home Companion
The Hunchback of Notre Dame
Program:
function: Find
inputs: John C. Reilly
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: Georgia
function: And
dependencies: 1
2
function: Find
inputs: Terms of Endearment
function: SelectBetween
dependencies: 3
4
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Georgia" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "John C. Reilly" .   } UNION { ?e <pred:name> "Terms of Endearment" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Georgia