Question: Which show has more episodes, Fantastic Four (the one whose duration is 22 minute) or Missing (the one that uses the language English)?
Choices: Missing
Bleak House
Robot Chicken
Fantastic Four
Six Feet Under
Saturday Night's Main Event
American Horror Story
Game of Thrones
Seinfeld
Dancing with the Stars
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Fantastic Four" . ?e <duration> ?pv_1 . ?pv_1 <pred:unit> "minute" . ?pv_1 <pred:value> "22"^^xsd:double . } UNION { ?e <pred:name> "Missing" . ?e <language_of_work_or_name> ?e_1 . ?e_1 <pred:name> "English" . } ?e <number_of_episodes> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Fantastic Four
function: FilterNum
dependencies: 0
inputs: duration
22 minute
=
function: Find
inputs: English
function: Relate
dependencies: 2
inputs: language of work or name
backward
function: Find
inputs: Missing
function: And
dependencies: 3
4
function: SelectBetween
dependencies: 1
5
inputs: number of episodes
greater
Answer: Missing