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