Question: Which has fewer episodes, Oliver Twist that started on 1985-10-13 or Star Trek: The Original Series?
Choices:
Roots
George Washington
The Diary of Anne Frank
Oliver Twist
The Stand
Star Trek: The Original Series
The Civil War
Edge of Darkness
The Pacific
The Ten Commandments
Answer: Oliver Twist
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Oliver Twist" . ?e <start_time> ?pv_1 . ?pv_1 <pred:date> "1985-10-13"^^xsd:date . } UNION { ?e <pred:name> "Star Trek: The Original Series" . } ?e <number_of_episodes> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Oliver Twist
function: FilterDate
dependencies: 0
inputs: start time
1985-10-13
=
function: Find
inputs: Star Trek: The Original Series
function: SelectBetween
dependencies: 1
2
inputs: number of episodes
less