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