Question: Which has a longer run-time, Haywire or San Francisco featuring cast member Spencer Tracy?
Choices:
A Prairie Home Companion
Curse of the Golden Flower
Rebecca
Talk to Her
The Towering Inferno
San Francisco
Haywire
Pleasantville
Training Day
The Hunchback of Notre Dame
Program:
function: Find
inputs: Haywire
function: Find
inputs: Spencer Tracy
function: Relate
dependencies: 1
inputs: cast member
backward
function: Find
inputs: San Francisco
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: duration
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Haywire" .  } UNION { ?e <pred:name> "San Francisco" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Spencer Tracy" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: San Francisco