Question: Which movie is longer, Father of the Bride Part II or Crossroads (the one whose publication date is 1986-01-01)?
Choices: Curse of the Golden Flower
Training Day
Pleasantville
The Fifth Element
Crossroads
Father of the Bride Part II
The Towering Inferno
The Hunchback of Notre Dame
A Prairie Home Companion
Talk to Her
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Father of the Bride Part II" . } UNION { ?e <pred:name> "Crossroads" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:date> "1986-01-01"^^xsd:date . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Father of the Bride Part II
function: Find
inputs: Crossroads
function: FilterDate
dependencies: 1
inputs: publication date
1986-01-01
=
function: SelectBetween
dependencies: 0
2
inputs: duration
greater
Answer: Father of the Bride Part II