Question: Does the lower season count belong to One Tree Hill (titled One Tree Hill) or Tin Man, winner at the 60th Primetime Emmy Awards?
Choices:
The Diary of Anne Frank
The Civil War
The Stand
Roots
Tin Man
George Washington
Edge of Darkness
One Tree Hill
The Pacific
The Ten Commandments
Program:
function: Find
inputs: One Tree Hill
function: FilterStr
dependencies: 0
inputs: title
One Tree Hill
function: Find
inputs: 60th Primetime Emmy Awards
function: Relate
dependencies: 2
inputs: award received
backward
function: Find
inputs: Tin Man
function: And
dependencies: 3
4
function: SelectBetween
dependencies: 1
5
inputs: number of seasons
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "One Tree Hill" . ?e <title> ?pv_1 . ?pv_1 <pred:value> "One Tree Hill" . } UNION { ?e <pred:name> "Tin Man" . ?e <award_received> ?e_1 . ?e_1 <pred:name> "60th Primetime Emmy Awards" . } ?e <number_of_seasons> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Tin Man