Question: Which has the smallest total revenue among the museums that are located in Manhattan where Peter Coyote was born?
Choices: Harry Connick Jr.
Messina
Museo del Prado
National Gallery
Museum of Modern Art
National Gallery of Art
prison
Tower of London
Metropolitan Museum of Art
Louvre Museum
SPARQL: SELECT ?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> "Peter Coyote" .  ?e <total_revenue> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Peter Coyote
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: SelectAmong
dependencies: 5
inputs: total revenue
smallest
Answer: Museum of Modern Art