Question: Which TV show was created by Craig Thomas (the one that is the screenwriter of Late Show with David Letterman)?
Choices:
Game of Thrones
The Diary of Anne Frank
Lost in Space
Bleak House
Seinfeld
Six Feet Under
How I Met Your Mother
Dancing with the Stars
American Horror Story
Robot Chicken
Answer: How I Met Your Mother
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "television series" . ?e <creator> ?e_1 . ?e_1 <pred:name> "Craig Thomas" . ?e_2 <screenwriter> ?e_1 . ?e_2 <pred:name> "Late Show with David Letterman" .   }
Program:
function: Find
inputs: Late Show with David Letterman
function: Relate
dependencies: 0
inputs: screenwriter
forward
function: Find
inputs: Craig Thomas
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: creator
backward
function: FilterConcept
dependencies: 4
inputs: television series
function: What
dependencies: 5