Question: Which is longer, Being John Malkovich or The Road published on 2009-09-03?
Choices: Curse of the Golden Flower
Being John Malkovich
The Road
A Prairie Home Companion
The Fifth Element
Rebecca
Training Day
Pleasantville
The Towering Inferno
Talk to Her
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Being John Malkovich" . } UNION { ?e <pred:name> "The Road" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:date> "2009-09-03"^^xsd:date . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Being John Malkovich
function: Find
inputs: The Road
function: FilterDate
dependencies: 1
inputs: publication date
2009-09-03
=
function: SelectBetween
dependencies: 0
2
inputs: duration
greater
Answer: The Road