Question: Does Tarzan (whose length is 94 minutes) or Kansas City (that has Harry Belafonte as a cast member) have the longer runtime?
Choices: The Towering Inferno
Kansas City
Curse of the Golden Flower
A Prairie Home Companion
Tarzan
Training Day
The Fifth Element
The Hunchback of Notre Dame
Pleasantville
Talk to Her
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Tarzan" . ?e <duration> ?pv_1 . ?pv_1 <pred:unit> "minute" . ?pv_1 <pred:value> "94"^^xsd:double . } UNION { ?e <pred:name> "Kansas City" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Harry Belafonte" . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Tarzan
function: FilterNum
dependencies: 0
inputs: duration
94 minute
=
function: Find
inputs: Harry Belafonte
function: Relate
dependencies: 2
inputs: cast member
backward
function: Find
inputs: Kansas City
function: And
dependencies: 3
4
function: SelectBetween
dependencies: 1
5
inputs: duration
greater
Answer: Kansas City