Question: Which has higher revenues, the Metropolitan Museum of Art or the Museum of Modern Art?
Choices:
Museum of Modern Art
Tower of London
National Gallery
Louvre Museum
Metropolitan Museum of Art
Museo del Prado
Pulitzer Prize for Fiction
Lorraine Bracco
prison
National Gallery of Art
Program:
function: Find
inputs: Metropolitan Museum of Art
function: Find
inputs: Museum of Modern 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> "Museum of Modern Art" .  } ?e <total_revenue> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Metropolitan Museum of Art