Question: Does Twilight (whose production company is Paramount Pictures) or London (whose release date is 2005-01-01) have the longer length?
Choices: London
Talk to Her
Pleasantville
A Prairie Home Companion
Curse of the Golden Flower
Twilight
Rebecca
The Fifth Element
The Towering Inferno
Training Day
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Twilight" . ?e <production_company> ?e_1 . ?e_1 <pred:name> "Paramount Pictures" . } UNION { ?e <pred:name> "London" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:date> "2005-01-01"^^xsd:date . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Paramount Pictures
function: Relate
dependencies: 0
inputs: production company
backward
function: Find
inputs: Twilight
function: And
dependencies: 1
2
function: Find
inputs: London
function: FilterDate
dependencies: 4
inputs: publication date
2005-01-01
=
function: SelectBetween
dependencies: 3
5
inputs: duration
greater
Answer: Twilight