Question: Does the higher season count belong to the work titled John Adams or to The Smurfs, first broadcast by NBC?
Choices: Batman Beyond
The Smurfs
The Venture Bros.
American Dad!
Aladdin
Phineas and Ferb
Robot Chicken
Tiny Toon Adventures
South Park
John Adams
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "John Adams" . ?e <title> ?pv_1 . ?pv_1 <pred:value> "John Adams" . } UNION { ?e <pred:name> "The Smurfs" . ?e <original_network> ?e_1 . ?e_1 <pred:name> "NBC" . } ?e <number_of_seasons> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: John Adams
function: FilterStr
dependencies: 0
inputs: title
John Adams
function: Find
inputs: NBC
function: Relate
dependencies: 2
inputs: original network
backward
function: Find
inputs: The Smurfs
function: And
dependencies: 3
4
function: SelectBetween
dependencies: 1
5
inputs: number of seasons
greater
Answer: The Smurfs