Question: Which one, Friday Night Lights (the one that was nominated for Primetime Emmy Award for Outstanding Lead Actress in a Drama Series) or Merlin (the one whose end time is 2012-12-24), has less duration?
Choices:
Bleak House
Merlin
Dancing with the Stars
Robot Chicken
American Horror Story
Seinfeld
Phineas and Ferb
Friday Night Lights
Game of Thrones
Saturday Night's Main Event
Program:
function: Find
inputs: Primetime Emmy Award for Outstanding Lead Actress in a Drama Series
function: Relate
dependencies: 0
inputs: nominated for
backward
function: Find
inputs: Friday Night Lights
function: And
dependencies: 1
2
function: Find
inputs: Merlin
function: FilterDate
dependencies: 4
inputs: end time
2012-12-24
=
function: SelectBetween
dependencies: 3
5
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Friday Night Lights" . ?e <nominated_for> ?e_1 . ?e_1 <pred:name> "Primetime Emmy Award for Outstanding Lead Actress in a Drama Series" . } UNION { ?e <pred:name> "Merlin" . ?e <end_time> ?pv_1 . ?pv_1 <pred:date> "2012-12-24"^^xsd:date . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Friday Night Lights