Question: Which TV show, the police procedural Paris or CSI: Crime Scene Investigation, had fewer seasons on air?
Choices:
Seinfeld
Paris
American Horror Story
Dancing with the Stars
Saturday Night's Main Event
Phineas and Ferb
Six Feet Under
Bleak House
CSI: Crime Scene Investigation
Robot Chicken
Program:
function: Find
inputs: police procedural
function: Relate
dependencies: 0
inputs: genre
backward
function: Find
inputs: Paris
function: And
dependencies: 1
2
function: Find
inputs: CSI: Crime Scene Investigation
function: SelectBetween
dependencies: 3
4
inputs: number of seasons
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Paris" . ?e <genre> ?e_1 . ?e_1 <pred:name> "police procedural" .   } UNION { ?e <pred:name> "CSI: Crime Scene Investigation" .  } ?e <number_of_seasons> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Paris