Question: Which is shorter, Miami Vice that started on 1984-09-16 or In the Heat of the Night that uses English?
Choices:
American Horror Story
Six Feet Under
Game of Thrones
In the Heat of the Night
Dancing with the Stars
Phineas and Ferb
Bleak House
Robot Chicken
Miami Vice
Saturday Night's Main Event
Answer: Miami Vice
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Miami Vice" . ?e <start_time> ?pv_1 . ?pv_1 <pred:date> "1984-09-16"^^xsd:date . } UNION { ?e <pred:name> "In the Heat of the Night" . ?e <language_of_work_or_name> ?e_1 . ?e_1 <pred:name> "English" . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Miami Vice
function: FilterDate
dependencies: 0
inputs: start time
1984-09-16
=
function: Find
inputs: English
function: Relate
dependencies: 2
inputs: language of work or name
backward
function: Find
inputs: In the Heat of the Night
function: And
dependencies: 3
4
function: SelectBetween
dependencies: 1
5
inputs: duration
less