Question: Which one, Priest (the one whose narrative location is Los Angeles) or Vanity Fair (the one whose duration is 78 minute), has greater duration?
Choices: Pleasantville
Curse of the Golden Flower
The Hunchback of Notre Dame
The Fifth Element
Talk to Her
Priest
The Towering Inferno
Rebecca
Training Day
Vanity Fair
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Priest" . ?e <narrative_location> ?e_1 . ?e_1 <pred:name> "Los Angeles" . } UNION { ?e <pred:name> "Vanity Fair" . ?e <duration> ?pv_1 . ?pv_1 <pred:unit> "minute" . ?pv_1 <pred:value> "78"^^xsd:double . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Los Angeles
function: Relate
dependencies: 0
inputs: narrative location
backward
function: Find
inputs: Priest
function: And
dependencies: 1
2
function: Find
inputs: Vanity Fair
function: FilterNum
dependencies: 4
inputs: duration
78 minute
=
function: SelectBetween
dependencies: 3
5
inputs: duration
greater
Answer: Priest