Question: Out of the nonprofit organizations what were founded after 1846, which has the least total revenue?
Choices:
Hamburger SV
Pfizer
Girl Scouts of the USA
National Museum of Racing and Hall of Fame
Associated Press
E. W. Scripps Company
McDonald's
Academy of Television Arts & Sciences
School of American Ballet
United States Coast Guard
Answer: National Museum of Racing and Hall of Fame
SPARQL: SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "nonprofit organization" . ?e <inception> ?pv_1 . ?pv_1 <pred:year> ?v_1 . FILTER ( ?v_1 > 1846 ) . ?e <total_revenue> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: FindAll
function: FilterYear
dependencies: 0
inputs: inception
1846
>
function: FilterConcept
dependencies: 1
inputs: nonprofit organization
function: SelectAmong
dependencies: 2
inputs: total revenue
smallest