Question: Which movie is longer, Almost Famous or Houston (the one whose publication date is 2013)?
Choices: Houston
Pleasantville
Talk to Her
Rebecca
Almost Famous
Curse of the Golden Flower
Training Day
A Prairie Home Companion
The Hunchback of Notre Dame
The Towering Inferno
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Almost Famous" . } UNION { ?e <pred:name> "Houston" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:year> 2013 . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Almost Famous
function: Find
inputs: Houston
function: FilterYear
dependencies: 1
inputs: publication date
2013
=
function: SelectBetween
dependencies: 0
2
inputs: duration
greater
Answer: Almost Famous