Question: Which movie is shorter, Curb Your Enthusiasm or Around the World in 80 Days (the one that is shot in Macau)?
Choices:
Seinfeld
American Horror Story
Phineas and Ferb
Six Feet Under
Curb Your Enthusiasm
Dancing with the Stars
Saturday Night's Main Event
Game of Thrones
Bleak House
Around the World in 80 Days
Answer: Curb Your Enthusiasm
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Curb Your Enthusiasm" .  } UNION { ?e <pred:name> "Around the World in 80 Days" . ?e <filming_location> ?e_1 . ?e_1 <pred:name> "Macau" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Curb Your Enthusiasm
function: Find
inputs: Macau
function: Relate
dependencies: 1
inputs: filming location
backward
function: Find
inputs: Around the World in 80 Days
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: duration
less