Question: Which has fewer seasons, The Diary of Anne Frank that ended on 2009-01-09 or Get Smart created by Mel Brooks?
Choices:
The Diary of Anne Frank
Emma
Get Smart
The Stand
George Washington
The Pacific
Battlestar Galactica
Edge of Darkness
The Civil War
Roots
Program:
function: Find
inputs: The Diary of Anne Frank
function: FilterDate
dependencies: 0
inputs: end time
2009-01-09
=
function: Find
inputs: Mel Brooks
function: Relate
dependencies: 2
inputs: creator
backward
function: Find
inputs: Get Smart
function: And
dependencies: 3
4
function: SelectBetween
dependencies: 1
5
inputs: number of seasons
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Diary of Anne Frank" . ?e <end_time> ?pv_1 . ?pv_1 <pred:date> "2009-01-09"^^xsd:date . } UNION { ?e <pred:name> "Get Smart" . ?e <creator> ?e_1 . ?e_1 <pred:name> "Mel Brooks" . } ?e <number_of_seasons> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: The Diary of Anne Frank