Question: Which movie is longer, Fort Worth (the one that origins from United States of America) or A Place in the Sun?
Choices:
Training Day
The Hunchback of Notre Dame
Talk to Her
Pleasantville
Curse of the Golden Flower
A Place in the Sun
The Towering Inferno
A Prairie Home Companion
Fort Worth
Rebecca
Answer: A Place in the Sun
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Fort Worth" . ?e <country_of_origin> ?e_1 . ?e_1 <pred:name> "United States of America" .   } UNION { ?e <pred:name> "A Place in the Sun" .  } ?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: Fort Worth
function: And
dependencies: 1
2
function: Find
inputs: A Place in the Sun
function: SelectBetween
dependencies: 3
4
inputs: duration
greater