Question: Which movie is shorter, Sons of Anarchy or Edge of Darkness (the one whose start time is 1985-11-04)?
Choices:
Dancing with the Stars
Saturday Night's Main Event
Robot Chicken
Game of Thrones
Seinfeld
American Horror Story
Sons of Anarchy
Six Feet Under
Phineas and Ferb
Edge of Darkness
Program:
function: Find
inputs: Sons of Anarchy
function: Find
inputs: Edge of Darkness
function: FilterDate
dependencies: 1
inputs: start time
1985-11-04
=
function: SelectBetween
dependencies: 0
2
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Sons of Anarchy" . } UNION { ?e <pred:name> "Edge of Darkness" . ?e <start_time> ?pv_1 . ?pv_1 <pred:date> "1985-11-04"^^xsd:date . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Sons of Anarchy