Question: Which has less total revenue, the Metropolitan Museum of Art or the National Gallery of Art?
Choices:
National Gallery
prison
2010: The Year We Make Contact
Children of Men
Louvre Museum
National Gallery of Art
Museo del Prado
Tower of London
Museum of Modern Art
Metropolitan Museum of Art
Program:
function: Find
inputs: Metropolitan Museum of Art
function: Find
inputs: National Gallery of Art
function: SelectBetween
dependencies: 0
1
inputs: total revenue
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Metropolitan Museum of Art" .  } UNION { ?e <pred:name> "National Gallery of Art" .  } ?e <total_revenue> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: National Gallery of Art