Question: Which movie is longer, Oscar and Lucinda or Mulan (the one that origins from People's Republic of China)?
Choices:
Training Day
Rebecca
Oscar and Lucinda
Pleasantville
The Towering Inferno
Mulan
Talk to Her
The Fifth Element
The Hunchback of Notre Dame
A Prairie Home Companion
Answer: Oscar and Lucinda
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Oscar and Lucinda" .  } UNION { ?e <pred:name> "Mulan" . ?e <country_of_origin> ?e_1 . ?e_1 <pred:name> "People's Republic of China" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Oscar and Lucinda
function: Find
inputs: People's Republic of China
function: Relate
dependencies: 1
inputs: country of origin
backward
function: Find
inputs: Mulan
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: duration
greater