Question: Which one has less duration between NYPD Blue and Fist of the North Star (the one that started in 1988-02-18)?
Choices:
Bleak House
Six Feet Under
NYPD Blue
American Horror Story
Saturday Night's Main Event
Phineas and Ferb
Fist of the North Star
Seinfeld
Game of Thrones
Robot Chicken
Program:
function: Find
inputs: NYPD Blue
function: Find
inputs: Fist of the North Star
function: FilterDate
dependencies: 1
inputs: start time
1988-02-18
=
function: SelectBetween
dependencies: 0
2
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "NYPD Blue" . } UNION { ?e <pred:name> "Fist of the North Star" . ?e <start_time> ?pv_1 . ?pv_1 <pred:date> "1988-02-18"^^xsd:date . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Fist of the North Star