Question: Does Munich (the one that is shot in Budapest) or Mindscape (the one whose duration is 98 minute) has lesser duration ?
Choices:
The Fifth Element
Munich
Curse of the Golden Flower
The Hunchback of Notre Dame
A Prairie Home Companion
Training Day
The Towering Inferno
Pleasantville
Rebecca
Mindscape
Answer: Mindscape
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Munich" . ?e <filming_location> ?e_1 . ?e_1 <pred:name> "Budapest" . } UNION { ?e <pred:name> "Mindscape" . ?e <duration> ?pv_1 . ?pv_1 <pred:unit> "minute" . ?pv_1 <pred:value> "98"^^xsd:double . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Budapest
function: Relate
dependencies: 0
inputs: filming location
backward
function: Find
inputs: Munich
function: And
dependencies: 1
2
function: Find
inputs: Mindscape
function: FilterNum
dependencies: 4
inputs: duration
98 minute
=
function: SelectBetween
dependencies: 3
5
inputs: duration
less