Question: Which show had fewer episodes, Santa Barbara (the one that was nominated for Daytime Emmy Award for Outstanding Drama Series) or It (the one whose publication date is 1993-02-21)?
Choices:
The Civil War
The Ten Commandments
George Washington
The Pacific
Roots
Santa Barbara
Battlestar Galactica
Edge of Darkness
The Diary of Anne Frank
It
Program:
function: Find
inputs: Daytime Emmy Award for Outstanding Drama Series
function: Relate
dependencies: 0
inputs: nominated for
backward
function: Find
inputs: Santa Barbara
function: And
dependencies: 1
2
function: Find
inputs: It
function: FilterDate
dependencies: 4
inputs: publication date
1993-02-21
=
function: SelectBetween
dependencies: 3
5
inputs: number of episodes
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Santa Barbara" . ?e <nominated_for> ?e_1 . ?e_1 <pred:name> "Daytime Emmy Award for Outstanding Drama Series" . } UNION { ?e <pred:name> "It" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:date> "1993-02-21"^^xsd:date . } ?e <number_of_episodes> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: It