Question: Which has less cost, Wonder Woman that is 141 minutes long or Sucker Punch?
Choices:
Sucker Punch
Training Day
Wonder Woman
Pleasantville
Curse of the Golden Flower
The Towering Inferno
Rebecca
A Prairie Home Companion
Talk to Her
The Fifth Element
Program:
function: Find
inputs: Wonder Woman
function: FilterNum
dependencies: 0
inputs: duration
141 minute
=
function: Find
inputs: Sucker Punch
function: SelectBetween
dependencies: 1
2
inputs: cost
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Wonder Woman" . ?e <duration> ?pv_1 . ?pv_1 <pred:unit> "minute" . ?pv_1 <pred:value> "141"^^xsd:double . } UNION { ?e <pred:name> "Sucker Punch" . } ?e <cost> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Sucker Punch