Question: Is the run-time longer for Munich, with Daniel Craig as a cast member, or for San Antonio, composed by Max Steiner?
Choices:
The Towering Inferno
The Hunchback of Notre Dame
A Prairie Home Companion
Rebecca
Training Day
The Fifth Element
Curse of the Golden Flower
Pleasantville
Munich
San Antonio
Program:
function: Find
inputs: Daniel Craig
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: Munich
function: And
dependencies: 1
2
function: Find
inputs: Max Steiner
function: Relate
dependencies: 4
inputs: composer
backward
function: Find
inputs: San Antonio
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: duration
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Munich" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Daniel Craig" .   } UNION { ?e <pred:name> "San Antonio" . ?e <composer> ?e_2 . ?e_2 <pred:name> "Max Steiner" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Munich