Question: Which has the longer duration, Contact, released in South Korea, or Four Weddings and a Funeral?
Choices:
Talk to Her
The Towering Inferno
Rebecca
Training Day
Contact
Curse of the Golden Flower
Pleasantville
The Hunchback of Notre Dame
A Prairie Home Companion
Four Weddings and a Funeral
Program:
function: Find
inputs: South Korea
function: Relate
dependencies: 0
inputs: film release region
backward
function: Find
inputs: Contact
function: And
dependencies: 1
2
function: Find
inputs: Four Weddings and a Funeral
function: SelectBetween
dependencies: 3
4
inputs: duration
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Contact" . ?e <film_release_region> ?e_1 . ?e_1 <pred:name> "South Korea" .   } UNION { ?e <pred:name> "Four Weddings and a Funeral" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Contact