Question: Which movie is longer, Yes Man or Home Alone (the one whose production company is 20th Century Fox Home Entertainment)?
Choices:
Pleasantville
Rebecca
A Prairie Home Companion
The Hunchback of Notre Dame
Home Alone
The Fifth Element
Curse of the Golden Flower
The Towering Inferno
Yes Man
Training Day
Program:
function: Find
inputs: Yes Man
function: Find
inputs: 20th Century Fox Home Entertainment
function: Relate
dependencies: 1
inputs: production company
backward
function: Find
inputs: Home Alone
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: duration
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Yes Man" .  } UNION { ?e <pred:name> "Home Alone" . ?e <production_company> ?e_1 . ?e_1 <pred:name> "20th Century Fox Home Entertainment" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Yes Man