Question: Tell me the one with the most seasons, Two and a Half Men or Heroes (the one that uses the language English)
Choices:
Two and a Half Men
Game of Thrones
Robot Chicken
Saturday Night's Main Event
American Horror Story
Six Feet Under
Heroes
Bleak House
Dancing with the Stars
Seinfeld
Program:
function: Find
inputs: English
function: Relate
dependencies: 0
inputs: language of work or name
backward
function: Find
inputs: Heroes
function: And
dependencies: 1
2
function: Find
inputs: Two and a Half Men
function: SelectBetween
dependencies: 3
4
inputs: number of seasons
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Heroes" . ?e <language_of_work_or_name> ?e_1 . ?e_1 <pred:name> "English" .   } UNION { ?e <pred:name> "Two and a Half Men" .  } ?e <number_of_seasons> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Two and a Half Men