Question: Which show has fewer episodes, Jane Eyre (the one that has Timothy Dalton as a cast member) or Rugrats (the one whose start time is 1991-08-11)?
Choices: Battlestar Galactica
The Civil War
The Ten Commandments
Edge of Darkness
Roots
The Stand
Jane Eyre
George Washington
Rugrats
The Pacific
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Jane Eyre" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Timothy Dalton" . } UNION { ?e <pred:name> "Rugrats" . ?e <start_time> ?pv_1 . ?pv_1 <pred:date> "1991-08-11"^^xsd:date . } ?e <number_of_episodes> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Timothy Dalton
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: Jane Eyre
function: And
dependencies: 1
2
function: Find
inputs: Rugrats
function: FilterDate
dependencies: 4
inputs: start time
1991-08-11
=
function: SelectBetween
dependencies: 3
5
inputs: number of episodes
less
Answer: Jane Eyre