Question: Which was longer Jarhead or April (the one whose title is Aprile)?
Choices:
Jarhead
Training Day
Pleasantville
Curse of the Golden Flower
The Fifth Element
Rebecca
A Prairie Home Companion
April
The Hunchback of Notre Dame
Talk to Her
Program:
function: Find
inputs: Jarhead
function: Find
inputs: April
function: FilterStr
dependencies: 1
inputs: title
Aprile
function: SelectBetween
dependencies: 0
2
inputs: duration
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Jarhead" . } UNION { ?e <pred:name> "April" . ?e <title> ?pv_1 . ?pv_1 <pred:value> "Aprile" . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Jarhead