Question: Does Parks and Recreation or The Temptations (the one whose publication date is 1998-01-01) have the less number of episodes?
Choices:
The Temptations
George Washington
Edge of Darkness
Roots
The Pacific
The Stand
The Ten Commandments
Parks and Recreation
The Diary of Anne Frank
The Civil War
Program:
function: Find
inputs: Parks and Recreation
function: Find
inputs: The Temptations
function: FilterDate
dependencies: 1
inputs: publication date
1998-01-01
=
function: SelectBetween
dependencies: 0
2
inputs: number of episodes
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Parks and Recreation" . } UNION { ?e <pred:name> "The Temptations" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:date> "1998-01-01"^^xsd:date . } ?e <number_of_episodes> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: The Temptations