Question: Which one has fewer members, New Zealand Labour Party or Alliance '90/The Greens?
Choices:
Ontario Liberal Party
Bharatiya Janata Party
Pakistan Peoples Party
Alliance '90/The Greens
New Zealand Labour Party
Conservative Party of Canada
Communist Party of India (Marxist)
Kuomintang
Labour Party
United National Party
Program:
function: Find
inputs: New Zealand Labour Party
function: Find
inputs: Alliance '90/The Greens
function: SelectBetween
dependencies: 0
1
inputs: member count
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "New Zealand Labour Party" .  } UNION { ?e <pred:name> "Alliance '90/The Greens" .  } ?e <member_count> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: New Zealand Labour Party