Question: Which movie is longer, The Rules of Attraction or The Pink Panther (the one that is shot in Czech Republic)?
Choices:
The Pink Panther
Talk to Her
The Hunchback of Notre Dame
Training Day
Pleasantville
Curse of the Golden Flower
A Prairie Home Companion
The Towering Inferno
Rebecca
The Rules of Attraction
Answer: The Rules of Attraction
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Rules of Attraction" .  } UNION { ?e <pred:name> "The Pink Panther" . ?e <filming_location> ?e_1 . ?e_1 <pred:name> "Czech Republic" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: The Rules of Attraction
function: Find
inputs: Czech Republic
function: Relate
dependencies: 1
inputs: filming location
backward
function: Find
inputs: The Pink Panther
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: duration
greater