Question: Which movie made more revenue, Metropolitan Museum of Art or National Gallery of Art?
Choices:
Louvre Museum
Museo del Prado
Van Nest Polglase
Metropolitan Museum of Art
National Gallery of Art
Museum of Modern Art
prison
National Gallery
Los Angeles Rams
Tower of London
Program:
function: Find
inputs: Metropolitan Museum of Art
function: Find
inputs: National Gallery of Art
function: SelectBetween
dependencies: 0
1
inputs: total revenue
greater
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 DESC(?v) LIMIT 1
Answer: Metropolitan Museum of Art