Question: Which has a smaller membership, Oneworld or Royal Canadian Air Force?
Choices:
Oneworld
BBC
United States Department of the Air Force
McDonald's
NBCUniversal
Hamburger SV
Vigor Shipyards
E. W. Scripps Company
Pfizer
Academy of Television Arts & Sciences
Program:
function: Find
inputs: Oneworld
function: Find
inputs: Royal Canadian Air Force
function: SelectBetween
dependencies: 0
1
inputs: member count
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Oneworld" .  } UNION { ?e <pred:name> "Royal Canadian Air Force" .  } ?e <member_count> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Oneworld