Question: Which costs less, Mulan whose duration is 88 minutes or Shrek Forever After published on 2010-06-30?
Choices:
Winnie the Pooh
Lilo & Stitch
Beauty and the Beast
Peter Pan
Aladdin
WALL·E
Shrek Forever After
Renaissance
Mulan
The Rescuers
Program:
function: Find
inputs: Mulan
function: FilterNum
dependencies: 0
inputs: duration
88 minute
=
function: Find
inputs: Shrek Forever After
function: FilterDate
dependencies: 2
inputs: publication date
2010-06-30
=
function: SelectBetween
dependencies: 1
3
inputs: cost
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Mulan" . ?e <duration> ?pv_1 . ?pv_1 <pred:unit> "minute" . ?pv_1 <pred:value> "88"^^xsd:double . } UNION { ?e <pred:name> "Shrek Forever After" . ?e <publication_date> ?pv_2 . ?pv_2 <pred:date> "2010-06-30"^^xsd:date . } ?e <cost> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Mulan