Question: Is the episode count higher for Top Chef or for One Tree Hill, which has 187 episodes?
Choices: American Horror Story
Bleak House
One Tree Hill
Six Feet Under
Phineas and Ferb
Saturday Night's Main Event
Robot Chicken
Game of Thrones
Top Chef
Dancing with the Stars
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Top Chef" . } UNION { ?e <pred:name> "One Tree Hill" . ?e <number_of_episodes> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "187"^^xsd:double . } ?e <number_of_episodes> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Top Chef
function: Find
inputs: One Tree Hill
function: FilterNum
dependencies: 1
inputs: number of episodes
187
=
function: SelectBetween
dependencies: 0
2
inputs: number of episodes
greater
Answer: Top Chef