Question: Which show has more episodes, Fresno (the one whose publication date is 1986-01-01) or MegaMan NT Warrior?
Choices:
Game of Thrones
Dancing with the Stars
Fresno
Bleak House
Six Feet Under
American Horror Story
Phineas and Ferb
Saturday Night's Main Event
MegaMan NT Warrior
Seinfeld
Answer: MegaMan NT Warrior
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Fresno" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:date> "1986-01-01"^^xsd:date . } UNION { ?e <pred:name> "MegaMan NT Warrior" . } ?e <number_of_episodes> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Fresno
function: FilterDate
dependencies: 0
inputs: publication date
1986-01-01
=
function: Find
inputs: MegaMan NT Warrior
function: SelectBetween
dependencies: 1
2
inputs: number of episodes
greater