Question: Which has a greater duration, A Fish Called Wanda or Saskatchewan (which has origins from the United States of America)?
Choices: The Fifth Element
Rebecca
The Hunchback of Notre Dame
The Towering Inferno
Training Day
Curse of the Golden Flower
Saskatchewan
Pleasantville
A Prairie Home Companion
A Fish Called Wanda
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "A Fish Called Wanda" .  } UNION { ?e <pred:name> "Saskatchewan" . ?e <country_of_origin> ?e_1 . ?e_1 <pred:name> "United States of America" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: A Fish Called Wanda
function: Find
inputs: United States of America
function: Relate
dependencies: 1
inputs: country of origin
backward
function: Find
inputs: Saskatchewan
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: duration
greater
Answer: A Fish Called Wanda