Question: Does Fresno (whose title is Fresno) or Star Trek: Enterprise have more episodes?
Choices:
Robot Chicken
Fresno
Saturday Night's Main Event
Game of Thrones
Bleak House
American Horror Story
Star Trek: Enterprise
Dancing with the Stars
Phineas and Ferb
Six Feet Under
Program:
function: Find
inputs: Fresno
function: FilterStr
dependencies: 0
inputs: title
Fresno
function: Find
inputs: Star Trek: Enterprise
function: SelectBetween
dependencies: 1
2
inputs: number of episodes
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Fresno" . ?e <title> ?pv_1 . ?pv_1 <pred:value> "Fresno" . } UNION { ?e <pred:name> "Star Trek: Enterprise" . } ?e <number_of_episodes> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Star Trek: Enterprise