Question: Which person is named after The Last Emperor (the one that was nominated for Academy Award for Best Production Design) and that was born in Philadelphia (the one that is the birthplace of Lionel Barrymore)?
Choices:
Max Fleischer
The Last Emperor
Rahul Dev Burman
Sylvester Stallone
Leon Schlesinger
Richard Gere
Patti LaBelle
Kate Flannery
William Henry Harrison
Simon Cowell
Program:
function: Find
inputs: Academy Award for Best Production Design
function: Relate
dependencies: 0
inputs: nominated for
backward
function: Find
inputs: The Last Emperor
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: named after
backward
function: FilterConcept
dependencies: 4
inputs: human
function: Find
inputs: Lionel Barrymore
function: Relate
dependencies: 6
inputs: place of birth
forward
function: Find
inputs: Philadelphia
function: And
dependencies: 7
8
function: Relate
dependencies: 9
inputs: place of birth
backward
function: FilterConcept
dependencies: 10
inputs: human
function: And
dependencies: 5
11
function: What
dependencies: 12
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "human" . ?e <named_after> ?e_1 . ?e_1 <pred:name> "The Last Emperor" . ?e_1 <nominated_for> ?e_2 . ?e_2 <pred:name> "Academy Award for Best Production Design" .  ?e <place_of_birth> ?e_3 . ?e_3 <pred:name> "Philadelphia" . ?e_4 <place_of_birth> ?e_3 . ?e_4 <pred:name> "Lionel Barrymore" .  }
Answer: The Last Emperor