Question: Were there less episodes in Battlestar Galactica (that started in 2003) or in The Diary of Anne Frank (with 1 season)?
Choices:
Roots
Rosemary's Baby
Battlestar Galactica
Emma
Edge of Darkness
George Washington
The Stand
The Diary of Anne Frank
The Civil War
The Pacific
Answer: Battlestar Galactica
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Battlestar Galactica" . ?e <start_time> ?pv_1 . ?pv_1 <pred:year> 2003 . } UNION { ?e <pred:name> "The Diary of Anne Frank" . ?e <number_of_seasons> ?pv_2 . ?pv_2 <pred:unit> "1" . ?pv_2 <pred:value> "1"^^xsd:double . } ?e <number_of_episodes> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Battlestar Galactica
function: FilterYear
dependencies: 0
inputs: start time
2003
=
function: Find
inputs: The Diary of Anne Frank
function: FilterNum
dependencies: 2
inputs: number of seasons
1
=
function: SelectBetween
dependencies: 1
3
inputs: number of episodes
less