Question: Which has the largest total revenue among the museums with an official opening date is after 1824?
Choices:
National Gallery of Art
Museo del Prado
National Gallery
Northwestern University
prison
Louvre Museum
Museum of Modern Art
Metropolitan Museum of Art
Uzbekistan
Tower of London
Program:
function: FindAll
function: FilterYear
dependencies: 0
inputs: date of official opening
1824
>
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 <date_of_official_opening> ?pv_1 . ?pv_1 <pred:year> ?v_1 . FILTER ( ?v_1 > 1824 ) . ?e <total_revenue> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Museum of Modern Art