Question: Is the shorter work Emma with Kate Beckinsale as a cast member, or The City of Lost Children?
Choices:
The Challenge
Emma
The Music Man
The Goodbye Girl
All Quiet on the Western Front
The Three Musketeers
A Christmas Carol
A Streetcar Named Desire
The Late Shift
Shackleton
Program:
function: Find
inputs: Kate Beckinsale
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: Emma
function: And
dependencies: 1
2
function: Find
inputs: The City of Lost Children
function: SelectBetween
dependencies: 3
4
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Emma" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Kate Beckinsale" .   } UNION { ?e <pred:name> "The City of Lost Children" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Emma