Question: Who resides in the town where David Thewlis was born?
Choices:
Roger Taylor
Philip Roth
Udo Kier
Sylvester Stallone
Fred Ebb
Michael Caine
Gregory Peck
Sabrina
Stephen Tobolowsky
Max Fleischer
Program:
function: Find
inputs: David Thewlis
function: Relate
dependencies: 0
inputs: place of birth
forward
function: FilterConcept
dependencies: 1
inputs: town
function: Relate
dependencies: 2
inputs: residence
backward
function: FilterConcept
dependencies: 3
inputs: human
function: What
dependencies: 4
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "human" . ?e <residence> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "town" . ?e_2 <place_of_birth> ?e_1 . ?e_2 <pred:name> "David Thewlis" .   }
Answer: Sabrina