Question: Which has more seasons, Dallas that has 357 episodes or Aladdin that is 25 minutes long?
Choices:
Dallas
Dancing with the Stars
Seinfeld
Aladdin
Robot Chicken
American Horror Story
Six Feet Under
Phineas and Ferb
Game of Thrones
Saturday Night's Main Event
Program:
function: Find
inputs: Dallas
function: FilterNum
dependencies: 0
inputs: number of episodes
357
=
function: Find
inputs: Aladdin
function: FilterNum
dependencies: 2
inputs: duration
25 minute
=
function: SelectBetween
dependencies: 1
3
inputs: number of seasons
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Dallas" . ?e <number_of_episodes> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "357"^^xsd:double . } UNION { ?e <pred:name> "Aladdin" . ?e <duration> ?pv_2 . ?pv_2 <pred:unit> "minute" . ?pv_2 <pred:value> "25"^^xsd:double . } ?e <number_of_seasons> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Dallas