Question: Is the run-time longer for Eureka, premiering on 2006-07-18, or Iron Man, which debuted on 1994-09-24?
Choices:
Eureka
Seinfeld
Game of Thrones
Phineas and Ferb
Iron Man
American Horror Story
Six Feet Under
Dancing with the Stars
Saturday Night's Main Event
Robot Chicken
Answer: Eureka
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Eureka" . ?e <start_time> ?pv_1 . ?pv_1 <pred:date> "2006-07-18"^^xsd:date . } UNION { ?e <pred:name> "Iron Man" . ?e <start_time> ?pv_2 . ?pv_2 <pred:date> "1994-09-24"^^xsd:date . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Eureka
function: FilterDate
dependencies: 0
inputs: start time
2006-07-18
=
function: Find
inputs: Iron Man
function: FilterDate
dependencies: 2
inputs: start time
1994-09-24
=
function: SelectBetween
dependencies: 1
3
inputs: duration
greater