Question: Which movie is longer, Montana (the one whose duration is 76 minute) or That's My Boy (the one whose release region is Bulgaria)?
Choices:
The Towering Inferno
Talk to Her
Curse of the Golden Flower
Training Day
Rebecca
The Fifth Element
The Hunchback of Notre Dame
A Prairie Home Companion
Montana
That's My Boy
Program:
function: Find
inputs: Montana
function: FilterNum
dependencies: 0
inputs: duration
76 minute
=
function: Find
inputs: Bulgaria
function: Relate
dependencies: 2
inputs: film release region
backward
function: Find
inputs: That's My Boy
function: And
dependencies: 3
4
function: SelectBetween
dependencies: 1
5
inputs: duration
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Montana" . ?e <duration> ?pv_1 . ?pv_1 <pred:unit> "minute" . ?pv_1 <pred:value> "76"^^xsd:double . } UNION { ?e <pred:name> "That's My Boy" . ?e <film_release_region> ?e_1 . ?e_1 <pred:name> "Bulgaria" . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: That's My Boy