Question: Which has more seasons, Flight of the Conchords starring Jemaine Clement or television comedy Adrian?
Choices:
Game of Thrones
American Horror Story
Dancing with the Stars
Six Feet Under
Bleak House
Adrian
Phineas and Ferb
Robot Chicken
Flight of the Conchords
Seinfeld
Answer: Flight of the Conchords
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Flight of the Conchords" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Jemaine Clement" .   } UNION { ?e <pred:name> "Adrian" . ?e <genre> ?e_2 . ?e_2 <pred:name> "television comedy" .  } ?e <number_of_seasons> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Jemaine Clement
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: Flight of the Conchords
function: And
dependencies: 1
2
function: Find
inputs: television comedy
function: Relate
dependencies: 4
inputs: genre
backward
function: Find
inputs: Adrian
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: number of seasons
greater