Question: Does the higher season count belong to the 65-episode Merlin or to Murphy Brown?
Choices:
American Horror Story
Merlin
Six Feet Under
Seinfeld
Dancing with the Stars
Bleak House
Game of Thrones
Murphy Brown
Robot Chicken
Saturday Night's Main Event
Answer: Murphy Brown
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Merlin" . ?e <number_of_episodes> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "65"^^xsd:double . } UNION { ?e <pred:name> "Murphy Brown" . } ?e <number_of_seasons> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Merlin
function: FilterNum
dependencies: 0
inputs: number of episodes
65
=
function: Find
inputs: Murphy Brown
function: SelectBetween
dependencies: 1
2
inputs: number of seasons
greater