Question: Does the higher season count belong to Cold War, with a 1 season run, or reality TV's The Challenge?
Choices: The Larry Sanders Show
The Wire, season 2
The Wire, season 1
The Challenge
Cold War
variety
The Wire, season 3
Peter Pan
The Wire, season 5
Lost, season 3
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Cold War" . ?e <number_of_seasons> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "1"^^xsd:double . } UNION { ?e <pred:name> "The Challenge" . ?e <genre> ?e_1 . ?e_1 <pred:name> "reality television" . } ?e <number_of_seasons> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Cold War
function: FilterNum
dependencies: 0
inputs: number of seasons
1
=
function: Find
inputs: reality television
function: Relate
dependencies: 2
inputs: genre
backward
function: Find
inputs: The Challenge
function: And
dependencies: 3
4
function: SelectBetween
dependencies: 1
5
inputs: number of seasons
greater
Answer: The Challenge