Question: Which movie is longer, Remember the Titans or Harry Potter and the Prisoner of Azkaban (the one that has Dawn French as a cast member)?
Choices: Old Dogs
Remember the Titans
The Flintstones in Viva Rock Vegas
John Carter
National Treasure: Book of Secrets
The Flintstones
Alvin and the Chipmunks: Chipwrecked
G-Force
Harry Potter and the Prisoner of Azkaban
Holes
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Remember the Titans" .  } UNION { ?e <pred:name> "Harry Potter and the Prisoner of Azkaban" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Dawn French" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Remember the Titans
function: Find
inputs: Dawn French
function: Relate
dependencies: 1
inputs: cast member
backward
function: Find
inputs: Harry Potter and the Prisoner of Azkaban
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: duration
greater
Answer: Harry Potter and the Prisoner of Azkaban