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