Question: Which has a greater duration, Foreign Correspondent or Thirteen?
Choices:
The Hunchback of Notre Dame
A Prairie Home Companion
The Towering Inferno
Thirteen
Rebecca
Training Day
Talk to Her
Pleasantville
The Fifth Element
Foreign Correspondent
Program:
function: Find
inputs: Foreign Correspondent
function: Find
inputs: Thirteen
function: SelectBetween
dependencies: 0
1
inputs: duration
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Foreign Correspondent" .  } UNION { ?e <pred:name> "Thirteen" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Foreign Correspondent