Question: Which movie is longer, Savannah (the one whose start time is 1996-01-21) or The Incredible Hulk (the one whose publication date is 1977-11-04)?
Choices:
Phineas and Ferb
Six Feet Under
Game of Thrones
Saturday Night's Main Event
Bleak House
Savannah
American Horror Story
Seinfeld
The Incredible Hulk
Dancing with the Stars
Program:
function: Find
inputs: Savannah
function: FilterDate
dependencies: 0
inputs: start time
1996-01-21
=
function: Find
inputs: The Incredible Hulk
function: FilterDate
dependencies: 2
inputs: publication date
1977-11-04
=
function: SelectBetween
dependencies: 1
3
inputs: duration
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Savannah" . ?e <start_time> ?pv_1 . ?pv_1 <pred:date> "1996-01-21"^^xsd:date . } UNION { ?e <pred:name> "The Incredible Hulk" . ?e <publication_date> ?pv_2 . ?pv_2 <pred:date> "1977-11-04"^^xsd:date . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Savannah