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