Question: Which movie is longer, The Chronicles of Narnia: The Lion, the Witch and the Wardrobe (the one whose title is The Chronicles of Narnia: The Lion, the Witch and the Wardrobe) or Ghostbusters II?
Choices: Holes
The Flintstones
The Chronicles of Narnia: The Lion, the Witch and the Wardrobe
Alvin and the Chipmunks: Chipwrecked
Ghostbusters II
G-Force
National Treasure: Book of Secrets
The Muppets
John Carter
Old Dogs
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Chronicles of Narnia: The Lion, the Witch and the Wardrobe" . ?e <title> ?pv_1 . ?pv_1 <pred:value> "The Chronicles of Narnia: The Lion, the Witch and the Wardrobe" . } UNION { ?e <pred:name> "Ghostbusters II" . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: The Chronicles of Narnia: The Lion, the Witch and the Wardrobe
function: FilterStr
dependencies: 0
inputs: title
The Chronicles of Narnia: The Lion, the Witch and the Wardrobe
function: Find
inputs: Ghostbusters II
function: SelectBetween
dependencies: 1
2
inputs: duration
greater
Answer: The Chronicles of Narnia: The Lion, the Witch and the Wardrobe