Question: Among the museums that are registered with the IRS, which one has the smallest total revenue?
Choices: prison
Dwayne Johnson
National Gallery
Museum of Modern Art
Louvre Museum
Museo del Prado
Tower of London
Metropolitan Museum of Art
National Gallery of Art
Dan Stevens
SPARQL: SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "museum" . ?e <registered_with> ?e_1 . ?e_1 <pred:name> "Internal Revenue Service" .  ?e <total_revenue> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Internal Revenue Service
function: Relate
dependencies: 0
inputs: registered with
backward
function: FilterConcept
dependencies: 1
inputs: museum
function: SelectAmong
dependencies: 2
inputs: total revenue
smallest
Answer: National Gallery of Art