Question: Which has less cost, The Hunchback of Notre Dame whose duration is 133 minutes or The Perks of Being a Wallflower released in Serbia?
Choices:
The Perks of Being a Wallflower
The Hunchback of Notre Dame
Hamlet
Earth
Little Women
Paris
Pleasantville
The Scarlet Letter
A Prairie Home Companion
Rebecca
Program:
function: Find
inputs: The Hunchback of Notre Dame
function: FilterNum
dependencies: 0
inputs: duration
133 minute
=
function: Find
inputs: Serbia
function: Relate
dependencies: 2
inputs: film release region
backward
function: Find
inputs: The Perks of Being a Wallflower
function: And
dependencies: 3
4
function: SelectBetween
dependencies: 1
5
inputs: cost
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Hunchback of Notre Dame" . ?e <duration> ?pv_1 . ?pv_1 <pred:unit> "minute" . ?pv_1 <pred:value> "133"^^xsd:double . } UNION { ?e <pred:name> "The Perks of Being a Wallflower" . ?e <film_release_region> ?e_1 . ?e_1 <pred:name> "Serbia" . } ?e <cost> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: The Hunchback of Notre Dame