Question: Is the work titled Texas shorter, or is You've Got Mail?
Choices:
Pleasantville
You've Got Mail
Talk to Her
The Towering Inferno
The Hunchback of Notre Dame
Rebecca
Curse of the Golden Flower
Texas
The Fifth Element
Training Day
Program:
function: Find
inputs: Texas
function: FilterStr
dependencies: 0
inputs: title
Texas
function: Find
inputs: You've Got Mail
function: SelectBetween
dependencies: 1
2
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Texas" . ?e <title> ?pv_1 . ?pv_1 <pred:value> "Texas" . } UNION { ?e <pred:name> "You've Got Mail" . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Texas