Question: Which movie is longer, The Station Agent or The Chronicles of Narnia: The Voyage of the Dawn Treader (the one that origins from United States of America)?
Choices:
The Hunchback of Notre Dame
Rebecca
The Fifth Element
Training Day
A Prairie Home Companion
Talk to Her
Curse of the Golden Flower
The Station Agent
The Towering Inferno
The Chronicles of Narnia: The Voyage of the Dawn Treader
Program:
function: Find
inputs: The Station Agent
function: Find
inputs: United States of America
function: Relate
dependencies: 1
inputs: country of origin
backward
function: Find
inputs: The Chronicles of Narnia: The Voyage of the Dawn Treader
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: duration
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Station Agent" .  } UNION { ?e <pred:name> "The Chronicles of Narnia: The Voyage of the Dawn Treader" . ?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
Answer: The Chronicles of Narnia: The Voyage of the Dawn Treader