Question: What is the birth name of the person who lives in Newton (the birthplace of Eli Roth)?
Choices:
Arthur Asher Miller
David Leo Fincher
Georg Friedrich Händel
ميشيل ديمتري شلهوب
Amy Meredith Poehler
Susan Alexandra Weaver
George Henry Sanders
Sofia Scicolone
Ian David McShane
James Gordon Brown
Program:
function: Find
inputs: Eli Roth
function: Relate
dependencies: 0
inputs: place of birth
forward
function: Find
inputs: Newton
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: residence
backward
function: FilterConcept
dependencies: 4
inputs: human
function: QueryAttr
dependencies: 5
inputs: birth name
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "human" . ?e <residence> ?e_1 . ?e_1 <pred:name> "Newton" . ?e_2 <place_of_birth> ?e_1 . ?e_2 <pred:name> "Eli Roth" .  ?e <birth_name> ?pv .  }
Answer: Amy Meredith Poehler