Question: Which has more seasons, All in the Family or Charlie's Angels which has the series spin-off Charlie's Angels: Full Throttle?
Choices:
Six Feet Under
Seinfeld
All in the Family
Game of Thrones
Phineas and Ferb
Saturday Night's Main Event
Dancing with the Stars
Charlie's Angels
Bleak House
American Horror Story
Program:
function: Find
inputs: All in the Family
function: Find
inputs: Charlie's Angels: Full Throttle
function: Relate
dependencies: 1
inputs: series spin-off
backward
function: Find
inputs: Charlie's Angels
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: number of seasons
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "All in the Family" .  } UNION { ?e <pred:name> "Charlie's Angels" . ?e <series_spin-off> ?e_1 . ?e_1 <pred:name> "Charlie's Angels: Full Throttle" .   } ?e <number_of_seasons> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: All in the Family