Question: Which is longer Porto, which runs for 75 minutes, or Airport which has cast member Van Heflin?
Choices:
Curse of the Golden Flower
Training Day
A Prairie Home Companion
The Towering Inferno
Rebecca
Talk to Her
The Hunchback of Notre Dame
Airport
Porto
Pleasantville
Answer: Porto
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Porto" . ?e <duration> ?pv_1 . ?pv_1 <pred:unit> "minute" . ?pv_1 <pred:value> "75"^^xsd:double . } UNION { ?e <pred:name> "Airport" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Van Heflin" . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Porto
function: FilterNum
dependencies: 0
inputs: duration
75 minute
=
function: Find
inputs: Van Heflin
function: Relate
dependencies: 2
inputs: cast member
backward
function: Find
inputs: Airport
function: And
dependencies: 3
4
function: SelectBetween
dependencies: 1
5
inputs: duration
less