Question: Which one, Fantastic Four (the one that is originally aired on NBC) or Rules of Engagement (the one that has Patrick Warburton as a cast member), has the greater number of seasons?
Choices:
Dancing with the Stars
Seinfeld
Phineas and Ferb
Fantastic Four
Bleak House
American Horror Story
Game of Thrones
Six Feet Under
Rules of Engagement
Robot Chicken
Program:
function: Find
inputs: NBC
function: Relate
dependencies: 0
inputs: original network
backward
function: Find
inputs: Fantastic Four
function: And
dependencies: 1
2
function: Find
inputs: Patrick Warburton
function: Relate
dependencies: 4
inputs: cast member
backward
function: Find
inputs: Rules of Engagement
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: number of seasons
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Fantastic Four" . ?e <original_network> ?e_1 . ?e_1 <pred:name> "NBC" .   } UNION { ?e <pred:name> "Rules of Engagement" . ?e <cast_member> ?e_2 . ?e_2 <pred:name> "Patrick Warburton" .  } ?e <number_of_seasons> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Rules of Engagement