Question: Which has less number of seasons, Superman (whose point in time is 1940) or The Contender (which uses the English language)?
Choices:
Batman Beyond
Aladdin
The Contender
South Park
Superman
The Cleveland Show
American Dad!
The Venture Bros.
Robot Chicken
Phineas and Ferb
Answer: Superman
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Superman" . ?e <point_in_time> ?pv_1 . ?pv_1 <pred:year> 1940 . } UNION { ?e <pred:name> "The Contender" . ?e <language_of_work_or_name> ?e_1 . ?e_1 <pred:name> "English" . } ?e <number_of_seasons> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Superman
function: FilterYear
dependencies: 0
inputs: point in time
1940
=
function: Find
inputs: English
function: Relate
dependencies: 2
inputs: language of work or name
backward
function: Find
inputs: The Contender
function: And
dependencies: 3
4
function: SelectBetween
dependencies: 1
5
inputs: number of seasons
less