Question: Of museums belonging to the USA, which records the lowest total income?
Choices:
Museo del Prado
Metropolitan Museum of Art
National Gallery
Superman
National Gallery of Art
Tower of London
prison
Museum of Modern Art
Louvre Museum
Tejano music
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
smallest
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 ?v LIMIT 1
Answer: National Gallery of Art