Question: Which facility in Manhattan, where Neil Simon died, earned the highest total revenue?
Choices:
Louvre Museum
Museo del Prado
Tower of London
Museum of Modern Art
Metropolitan Museum of Art
National Gallery
The Orphanage
John Romita Jr.
prison
National Gallery of Art
Program:
function: Find
inputs: Neil Simon
function: Relate
dependencies: 0
inputs: place of death
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: facility
function: SelectAmong
dependencies: 5
inputs: total revenue
largest
SPARQL: SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "facility" . ?e <located_in_the_administrative_territorial_entity> ?e_1 . ?e_1 <pred:name> "Manhattan" . ?e_2 <place_of_death> ?e_1 . ?e_2 <pred:name> "Neil Simon" .  ?e <total_revenue> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Metropolitan Museum of Art