Question: Does Kuch Kuch Hota Hai or A View to a Kill (that has Dolph Lundgren as a cast member) have the longer runtime?
Choices:
A Prairie Home Companion
Kuch Kuch Hota Hai
A View to a Kill
Talk to Her
Curse of the Golden Flower
Training Day
Pleasantville
The Fifth Element
Rebecca
The Hunchback of Notre Dame
Program:
function: Find
inputs: Kuch Kuch Hota Hai
function: Find
inputs: Dolph Lundgren
function: Relate
dependencies: 1
inputs: cast member
backward
function: Find
inputs: A View to a Kill
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: duration
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Kuch Kuch Hota Hai" .  } UNION { ?e <pred:name> "A View to a Kill" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Dolph Lundgren" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Kuch Kuch Hota Hai