Question: Which show has fewer episodes, Great Expectations (the one whose number of seasons is 1) or Eve (the one that uses the language English)?
Choices:
The Civil War
Edge of Darkness
George Washington
The Stand
Roots
Battlestar Galactica
The Ten Commandments
Eve
The Diary of Anne Frank
Great Expectations
Answer: Great Expectations
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Great Expectations" . ?e <number_of_seasons> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "1"^^xsd:double . } UNION { ?e <pred:name> "Eve" . ?e <language_of_work_or_name> ?e_1 . ?e_1 <pred:name> "English" . } ?e <number_of_episodes> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Great Expectations
function: FilterNum
dependencies: 0
inputs: number of seasons
1
=
function: Find
inputs: English
function: Relate
dependencies: 2
inputs: language of work or name
backward
function: Find
inputs: Eve
function: And
dependencies: 3
4
function: SelectBetween
dependencies: 1
5
inputs: number of episodes
less