Question: Does the longer run-time belong to Palo Alto, featuring Francis Ford Coppola as a cast member, or Emma, which clocks in at 107 minutes?
Choices: Shackleton
The Late Shift
Palo Alto
All Quiet on the Western Front
The Three Musketeers
The Music Man
Emma
A Christmas Carol
A Streetcar Named Desire
The Challenge
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Palo Alto" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Francis Ford Coppola" . } UNION { ?e <pred:name> "Emma" . ?e <duration> ?pv_1 . ?pv_1 <pred:unit> "minute" . ?pv_1 <pred:value> "107"^^xsd:double . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Francis Ford Coppola
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: Palo Alto
function: And
dependencies: 1
2
function: Find
inputs: Emma
function: FilterNum
dependencies: 4
inputs: duration
107 minute
=
function: SelectBetween
dependencies: 3
5
inputs: duration
greater
Answer: Emma