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