Question: Among the television series written by Stephen King (the one that is influenced by Ray Bradbury),which one has the smallest number of episodes ?
Choices:
The Civil War
The Shining
Battlestar Galactica
The Ten Commandments
Roots
It
Edge of Darkness
The Pacific
The Stand
The Diary of Anne Frank
Answer: It
SPARQL: SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "television series" . ?e <after_a_work_by> ?e_1 . ?e_1 <pred:name> "Stephen King" . ?e_1 <influenced_by> ?e_2 . ?e_2 <pred:name> "Ray Bradbury" .  ?e <number_of_episodes> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Ray Bradbury
function: Relate
dependencies: 0
inputs: influenced by
backward
function: Find
inputs: Stephen King
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: after a work by
backward
function: FilterConcept
dependencies: 4
inputs: television series
function: SelectAmong
dependencies: 5
inputs: number of episodes
smallest