Question: Which is shorter, The Chronicles of Narnia: The Lion, the Witch and the Wardrobe produced by 20th Century Fox or The Sorcerer's Apprentice that is shot in New York City?
Choices: The Sorcerer's Apprentice
G-Force
John Carter
The Chronicles of Narnia: The Lion, the Witch and the Wardrobe
Old Dogs
The Muppets
Alvin and the Chipmunks: Chipwrecked
The Flintstones in Viva Rock Vegas
National Treasure: Book of Secrets
Holes
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Chronicles of Narnia: The Lion, the Witch and the Wardrobe" . ?e <production_company> ?e_1 . ?e_1 <pred:name> "20th Century Fox" .   } UNION { ?e <pred:name> "The Sorcerer's Apprentice" . ?e <filming_location> ?e_2 . ?e_2 <pred:name> "New York City" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: 20th Century Fox
function: Relate
dependencies: 0
inputs: production company
backward
function: Find
inputs: The Chronicles of Narnia: The Lion, the Witch and the Wardrobe
function: And
dependencies: 1
2
function: Find
inputs: New York City
function: Relate
dependencies: 4
inputs: filming location
backward
function: Find
inputs: The Sorcerer's Apprentice
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: duration
less
Answer: The Sorcerer's Apprentice