Question: Which has fewer episodes, Wonder Woman, which mainly depicts World War II, or Charmed, which originally aired on The WB?
Choices:
Six Feet Under
Wonder Woman
Robot Chicken
Dancing with the Stars
Phineas and Ferb
American Horror Story
Seinfeld
Bleak House
Game of Thrones
Charmed
Program:
function: Find
inputs: World War II
function: Relate
dependencies: 0
inputs: main subject
backward
function: Find
inputs: Wonder Woman
function: And
dependencies: 1
2
function: Find
inputs: The WB
function: Relate
dependencies: 4
inputs: original network
backward
function: Find
inputs: Charmed
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: number of episodes
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Wonder Woman" . ?e <main_subject> ?e_1 . ?e_1 <pred:name> "World War II" .   } UNION { ?e <pred:name> "Charmed" . ?e <original_network> ?e_2 . ?e_2 <pred:name> "The WB" .  } ?e <number_of_episodes> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Wonder Woman