Question: Does Oliver Twist (whose start date is 1985-10-13) or Dark Shadows (that is originally broadcast on American Broadcasting Company) have fewer episodes?
Choices:
The Diary of Anne Frank
Battlestar Galactica
Dark Shadows
Oliver Twist
George Washington
Edge of Darkness
The Civil War
The Ten Commandments
The Pacific
The Stand
Program:
function: Find
inputs: Oliver Twist
function: FilterDate
dependencies: 0
inputs: start time
1985-10-13
=
function: Find
inputs: American Broadcasting Company
function: Relate
dependencies: 2
inputs: original network
backward
function: Find
inputs: Dark Shadows
function: And
dependencies: 3
4
function: SelectBetween
dependencies: 1
5
inputs: number of episodes
less
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> "Dark Shadows" . ?e <original_network> ?e_1 . ?e_1 <pred:name> "American Broadcasting Company" . } ?e <number_of_episodes> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Oliver Twist