Question: Which agency with under 310,000 members has the lowest membership?
Choices:
E. W. Scripps Company
SkyTeam
Star Alliance
Pfizer
Oneworld
McDonald's
Hamburger SV
NBCUniversal
Academy of Television Arts & Sciences
Royal Canadian Air Force
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: member count
310000
<
function: FilterConcept
dependencies: 1
inputs: agent
function: SelectAmong
dependencies: 2
inputs: member count
smallest
SPARQL: SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "agent" . ?e <member_count> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 < "310000"^^xsd:double ) . ?e <member_count> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Oneworld