Question: Which show has fewer episodes, Daredevil (the one that is created by Drew Goddard) or Angels in America?
Choices:
Daredevil
Roots
The Ten Commandments
George Washington
Edge of Darkness
The Civil War
The Stand
Angels in America
Battlestar Galactica
The Diary of Anne Frank
Program:
function: Find
inputs: Drew Goddard
function: Relate
dependencies: 0
inputs: creator
backward
function: Find
inputs: Daredevil
function: And
dependencies: 1
2
function: Find
inputs: Angels in America
function: SelectBetween
dependencies: 3
4
inputs: number of episodes
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Daredevil" . ?e <creator> ?e_1 . ?e_1 <pred:name> "Drew Goddard" .   } UNION { ?e <pred:name> "Angels in America" .  } ?e <number_of_episodes> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Angels in America