Question: Which has more episodes, George Washington whose episode count is 3 or MegaMan NT Warrior?
Choices:
Six Feet Under
MegaMan NT Warrior
Robot Chicken
George Washington
American Horror Story
Phineas and Ferb
Game of Thrones
Dancing with the Stars
Bleak House
Saturday Night's Main Event
Program:
function: Find
inputs: George Washington
function: FilterNum
dependencies: 0
inputs: number of episodes
3
=
function: Find
inputs: MegaMan NT Warrior
function: SelectBetween
dependencies: 1
2
inputs: number of episodes
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "George Washington" . ?e <number_of_episodes> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "3"^^xsd:double . } UNION { ?e <pred:name> "MegaMan NT Warrior" . } ?e <number_of_episodes> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: MegaMan NT Warrior