Question: Does The X-Files (that has Callum Keith Rennie as a cast member) or Superman (whose time period is in 1940) have fewer seasons?
Choices: The Venture Bros.
Batman Beyond
The Cleveland Show
Superman
The X-Files
South Park
Tiny Toon Adventures
Aladdin
Robot Chicken
American Dad!
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The X-Files" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Callum Keith Rennie" . } UNION { ?e <pred:name> "Superman" . ?e <point_in_time> ?pv_1 . ?pv_1 <pred:year> 1940 . } ?e <number_of_seasons> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Callum Keith Rennie
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: The X-Files
function: And
dependencies: 1
2
function: Find
inputs: Superman
function: FilterYear
dependencies: 4
inputs: point in time
1940
=
function: SelectBetween
dependencies: 3
5
inputs: number of seasons
less
Answer: Superman