Question: Whose birth name is Samuel Horwitz, born in Brooklyn (birthplace of Angelo Badalamenti) ?
Choices:
William Henry Harrison
Sylvester Stallone
David Byrne
Max Fleischer
Shemp Howard
Richard Gere
Woody Allen
Richard Dreyfuss
Steve Guttenberg
Joan Rivers
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: birth name
Samuel Horwitz
function: FilterConcept
dependencies: 1
inputs: human
function: Find
inputs: Angelo Badalamenti
function: Relate
dependencies: 3
inputs: place of birth
forward
function: Find
inputs: Brooklyn
function: And
dependencies: 4
5
function: Relate
dependencies: 6
inputs: place of birth
backward
function: FilterConcept
dependencies: 7
inputs: human
function: And
dependencies: 2
8
function: What
dependencies: 9
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "human" . ?e <birth_name> ?pv . ?pv <pred:value> "Samuel Horwitz" . ?e <place_of_birth> ?e_1 . ?e_1 <pred:name> "Brooklyn" . ?e_2 <place_of_birth> ?e_1 . ?e_2 <pred:name> "Angelo Badalamenti" .  }
Answer: Shemp Howard