Question: Which has fewer episodes, Doctor Zhivago published on 2002-01-01 or Code Geass?
Choices: The Goodbye Girl
The Music Man
A Christmas Carol
The Late Shift
A Streetcar Named Desire
Shackleton
The Three Musketeers
All Quiet on the Western Front
Code Geass
Doctor Zhivago
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Doctor Zhivago" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:date> "2002-01-01"^^xsd:date . } UNION { ?e <pred:name> "Code Geass" . } ?e <number_of_episodes> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Doctor Zhivago
function: FilterDate
dependencies: 0
inputs: publication date
2002-01-01
=
function: Find
inputs: Code Geass
function: SelectBetween
dependencies: 1
2
inputs: number of episodes
less
Answer: Doctor Zhivago