Question: Which movie is longer, August (the one that origins from United States of America) or Salmon Fishing in the Yemen?
Choices:
The Hunchback of Notre Dame
The Fifth Element
The Towering Inferno
A Prairie Home Companion
Curse of the Golden Flower
Talk to Her
Rebecca
Training Day
Salmon Fishing in the Yemen
Pleasantville
Answer: Salmon Fishing in the Yemen
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "August" . ?e <country_of_origin> ?e_1 . ?e_1 <pred:name> "United States of America" .   } UNION { ?e <pred:name> "Salmon Fishing in the Yemen" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: United States of America
function: Relate
dependencies: 0
inputs: country of origin
backward
function: Find
inputs: August
function: And
dependencies: 1
2
function: Find
inputs: Salmon Fishing in the Yemen
function: SelectBetween
dependencies: 3
4
inputs: duration
greater