Question: Among the facilities registered with the Internal Revenue Service, which has the largest total revenue?
Choices:
Newport
Metropolitan Museum of Art
Louvre Museum
Museo del Prado
National Gallery
Tower of London
National Gallery of Art
prison
Hamlet
Museum of Modern Art
Answer: Museum of Modern Art
SPARQL: SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "facility" . ?e <registered_with> ?e_1 . ?e_1 <pred:name> "Internal Revenue Service" .  ?e <total_revenue> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Internal Revenue Service
function: Relate
dependencies: 0
inputs: registered with
backward
function: FilterConcept
dependencies: 1
inputs: facility
function: SelectAmong
dependencies: 2
inputs: total revenue
largest