Question: Which show has fewer seasons, City of Angels (the one that is originally aired on CBS) or Batman (the one whose duration is 25 minute)?
Choices: Saturday Night's Main Event
Bleak House
Phineas and Ferb
Batman
Seinfeld
Game of Thrones
Dancing with the Stars
Robot Chicken
City of Angels
Six Feet Under
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "City of Angels" . ?e <original_network> ?e_1 . ?e_1 <pred:name> "CBS" . } UNION { ?e <pred:name> "Batman" . ?e <duration> ?pv_1 . ?pv_1 <pred:unit> "minute" . ?pv_1 <pred:value> "25"^^xsd:double . } ?e <number_of_seasons> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: CBS
function: Relate
dependencies: 0
inputs: original network
backward
function: Find
inputs: City of Angels
function: And
dependencies: 1
2
function: Find
inputs: Batman
function: FilterNum
dependencies: 4
inputs: duration
25 minute
=
function: SelectBetween
dependencies: 3
5
inputs: number of seasons
less
Answer: City of Angels