Question: tell me the one that is longer, The Matrix Reloaded or Heat (which has the cast member Jeremy Piven)
Choices:
The Hunchback of Notre Dame
Heat
Training Day
Talk to Her
The Towering Inferno
Pleasantville
Rebecca
Curse of the Golden Flower
The Matrix Reloaded
A Prairie Home Companion
Program:
function: Find
inputs: The Matrix Reloaded
function: Find
inputs: Jeremy Piven
function: Relate
dependencies: 1
inputs: cast member
backward
function: Find
inputs: Heat
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: duration
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Matrix Reloaded" .  } UNION { ?e <pred:name> "Heat" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Jeremy Piven" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Heat