Question: Which one, Miracle on 34th Street (the one whose publication date is 1994-12-08) or The Three Musketeers (the one whose genre is slapstick), has less duration?
Choices:
Miracle on 34th Street
Curse of the Golden Flower
The Hunchback of Notre Dame
A Prairie Home Companion
The Fifth Element
The Three Musketeers
Rebecca
Pleasantville
Training Day
Talk to Her
Program:
function: Find
inputs: Miracle on 34th Street
function: FilterDate
dependencies: 0
inputs: publication date
1994-12-08
=
function: Find
inputs: slapstick
function: Relate
dependencies: 2
inputs: genre
backward
function: Find
inputs: The Three Musketeers
function: And
dependencies: 3
4
function: SelectBetween
dependencies: 1
5
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Miracle on 34th Street" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:date> "1994-12-08"^^xsd:date . } UNION { ?e <pred:name> "The Three Musketeers" . ?e <genre> ?e_1 . ?e_1 <pred:name> "slapstick" . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: The Three Musketeers