Question: Which has greater duration, House of Sand and Fog or Resident Evil: Extinction?
Choices:
Resident Evil: Extinction
A Prairie Home Companion
Pleasantville
House of Sand and Fog
Curse of the Golden Flower
The Towering Inferno
The Fifth Element
Talk to Her
The Hunchback of Notre Dame
Training Day
Program:
function: Find
inputs: House of Sand and Fog
function: Find
inputs: Resident Evil: Extinction
function: SelectBetween
dependencies: 0
1
inputs: duration
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "House of Sand and Fog" .  } UNION { ?e <pred:name> "Resident Evil: Extinction" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: House of Sand and Fog