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