Question: Which one has less duration between Hannibal (the one whose end time is 2015-08-29) and Sleepy Hollow (the one created by Alex Kurtzman)?
Choices: Sleepy Hollow
Hannibal
Phineas and Ferb
Dancing with the Stars
Bleak House
Robot Chicken
Game of Thrones
American Horror Story
Six Feet Under
Seinfeld
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Hannibal" . ?e <end_time> ?pv_1 . ?pv_1 <pred:date> "2015-08-29"^^xsd:date . } UNION { ?e <pred:name> "Sleepy Hollow" . ?e <creator> ?e_1 . ?e_1 <pred:name> "Alex Kurtzman" . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Hannibal
function: FilterDate
dependencies: 0
inputs: end time
2015-08-29
=
function: Find
inputs: Alex Kurtzman
function: Relate
dependencies: 2
inputs: creator
backward
function: Find
inputs: Sleepy Hollow
function: And
dependencies: 3
4
function: SelectBetween
dependencies: 1
5
inputs: duration
less
Answer: Hannibal