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