Question: Out of the nonprofit organizations that were founded after 1912, which has the smallest total revenue?
Choices:
School of American Ballet
Associated Press
McDonald's
E. W. Scripps Company
National Museum of Racing and Hall of Fame
BBC
United States Coast Guard
Pfizer
Hamburger SV
Girl Scouts of the USA
Program:
function: FindAll
function: FilterYear
dependencies: 0
inputs: inception
1912
>
function: FilterConcept
dependencies: 1
inputs: nonprofit organization
function: SelectAmong
dependencies: 2
inputs: total revenue
smallest
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 > 1912 ) . ?e <total_revenue> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: National Museum of Racing and Hall of Fame