Question: Does Eureka, that has 77 episodes, or Entertainment Tonight have fewer seasons?
Choices:
Saturday Night's Main Event
Entertainment Tonight
Six Feet Under
Phineas and Ferb
Eureka
Dancing with the Stars
American Horror Story
Game of Thrones
Bleak House
Seinfeld
Program:
function: Find
inputs: Eureka
function: FilterNum
dependencies: 0
inputs: number of episodes
77
=
function: Find
inputs: Entertainment Tonight
function: SelectBetween
dependencies: 1
2
inputs: number of seasons
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Eureka" . ?e <number_of_episodes> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "77"^^xsd:double . } UNION { ?e <pred:name> "Entertainment Tonight" . } ?e <number_of_seasons> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Eureka