Question: Which movie is shorter, Hong Kong (the one whose title is Hong Kong) or Click?
Choices:
Talk to Her
Curse of the Golden Flower
Hong Kong
The Fifth Element
A Prairie Home Companion
The Hunchback of Notre Dame
Click
Training Day
The Towering Inferno
Pleasantville
Program:
function: Find
inputs: Hong Kong
function: FilterStr
dependencies: 0
inputs: title
Hong Kong
function: Find
inputs: Click
function: SelectBetween
dependencies: 1
2
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Hong Kong" . ?e <title> ?pv_1 . ?pv_1 <pred:value> "Hong Kong" . } UNION { ?e <pred:name> "Click" . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Hong Kong