Question: Which show has more seasons, American Idol (the one whose official website is http://www.americanidol.com/) or Animaniacs (the one that origins from United States of America)?
Choices:
Bleak House
Robot Chicken
Saturday Night's Main Event
Phineas and Ferb
Six Feet Under
American Idol
Dancing with the Stars
Game of Thrones
American Horror Story
Animaniacs
Program:
function: Find
inputs: American Idol
function: FilterStr
dependencies: 0
inputs: official website
http://www.americanidol.com/
function: Find
inputs: United States of America
function: Relate
dependencies: 2
inputs: country of origin
backward
function: Find
inputs: Animaniacs
function: And
dependencies: 3
4
function: SelectBetween
dependencies: 1
5
inputs: number of seasons
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "American Idol" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> "http://www.americanidol.com/" . } UNION { ?e <pred:name> "Animaniacs" . ?e <country_of_origin> ?e_1 . ?e_1 <pred:name> "United States of America" . } ?e <number_of_seasons> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: American Idol