Question: Is the run-time longer on Fantastic Four, with Jessica Alba as a cast member, or on Young Frankenstein?
Choices:
Fantastic Four
Training Day
Rebecca
The Hunchback of Notre Dame
The Towering Inferno
A Prairie Home Companion
Curse of the Golden Flower
Young Frankenstein
The Fifth Element
Talk to Her
Program:
function: Find
inputs: Jessica Alba
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: Fantastic Four
function: And
dependencies: 1
2
function: Find
inputs: Young Frankenstein
function: SelectBetween
dependencies: 3
4
inputs: duration
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Fantastic Four" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Jessica Alba" .   } UNION { ?e <pred:name> "Young Frankenstein" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Young Frankenstein