Question: Is the running-time shorter for The Happening (with Mark Wahlberg as a cast member) or Ben-Hur (produced by Mark Burnett)?
Choices:
Pleasantville
Curse of the Golden Flower
A Prairie Home Companion
The Happening
The Fifth Element
Ben-Hur
The Hunchback of Notre Dame
Talk to Her
Training Day
Rebecca
Program:
function: Find
inputs: Mark Wahlberg
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: The Happening
function: And
dependencies: 1
2
function: Find
inputs: Mark Burnett
function: Relate
dependencies: 4
inputs: producer
backward
function: Find
inputs: Ben-Hur
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Happening" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Mark Wahlberg" .   } UNION { ?e <pred:name> "Ben-Hur" . ?e <producer> ?e_2 . ?e_2 <pred:name> "Mark Burnett" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: The Happening