Question: Are there more episodes in Fringe or the 13 episode Fantastic Four?
Choices:
Saturday Night's Main Event
American Horror Story
Bleak House
Dancing with the Stars
Six Feet Under
Phineas and Ferb
Robot Chicken
Fantastic Four
Fringe
Seinfeld
Answer: Fringe
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Fringe" . } UNION { ?e <pred:name> "Fantastic Four" . ?e <number_of_episodes> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "13"^^xsd:double . } ?e <number_of_seasons> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Fringe
function: Find
inputs: Fantastic Four
function: FilterNum
dependencies: 1
inputs: number of episodes
13
=
function: SelectBetween
dependencies: 0
2
inputs: number of seasons
greater