Question: Which one has less duration, The Last Airbender ( Kathleen Kennedy as an executive producer) or November (the one whose publication date is 2004-01-01)?
Choices:
Rebecca
Talk to Her
The Towering Inferno
Training Day
A Prairie Home Companion
Pleasantville
The Hunchback of Notre Dame
The Fifth Element
November
The Last Airbender
Program:
function: Find
inputs: Kathleen Kennedy
function: Relate
dependencies: 0
inputs: executive producer
backward
function: Find
inputs: The Last Airbender
function: And
dependencies: 1
2
function: Find
inputs: November
function: FilterDate
dependencies: 4
inputs: publication date
2004-01-01
=
function: SelectBetween
dependencies: 3
5
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Last Airbender" . ?e <executive_producer> ?e_1 . ?e_1 <pred:name> "Kathleen Kennedy" . } UNION { ?e <pred:name> "November" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:date> "2004-01-01"^^xsd:date . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: November