Question: What museum in the United States ofAmerica has the highest total revenue?
Choices:
Metropolitan Museum of Art
prison
Andrea Romano
Museum of Modern Art
Tower of London
National Gallery
National Gallery of Art
Louvre Museum
Qing dynasty
Museo del Prado
Program:
function: Find
inputs: United States of America
function: Relate
dependencies: 0
inputs: country
backward
function: FilterConcept
dependencies: 1
inputs: museum
function: SelectAmong
dependencies: 2
inputs: total revenue
largest
SPARQL: SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "museum" . ?e <country> ?e_1 . ?e_1 <pred:name> "United States of America" .  ?e <total_revenue> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Metropolitan Museum of Art