Question: What is the name of museum in Manhattan (birthplace of Raoul Walsh) with a PremID is 4297147125?
Choices:
Louvre Museum
National Gallery of Art
Jennifer Esposito
prison
National Gallery
Tower of London
Museum of Modern Art
John Madden
Metropolitan Museum of Art
Museo del Prado
Answer: Metropolitan Museum of Art
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "museum" . ?e <located_in_the_administrative_territorial_entity> ?e_1 . ?e_1 <pred:name> "Manhattan" . ?e_2 <place_of_birth> ?e_1 . ?e_2 <pred:name> "Raoul Walsh" .  ?e <PermID> ?pv . ?pv <pred:value> "4297147125" .  }
Program:
function: Find
inputs: Raoul Walsh
function: Relate
dependencies: 0
inputs: place of birth
forward
function: Find
inputs: Manhattan
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: located in the administrative territorial entity
backward
function: FilterConcept
dependencies: 4
inputs: museum
function: FindAll
function: FilterStr
dependencies: 6
inputs: PermID
4297147125
function: FilterConcept
dependencies: 7
inputs: museum
function: And
dependencies: 5
8
function: What
dependencies: 9