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