Question: Which has fewer members, Scottish Labour Party or Alliance '90/The Greens?
Choices:
United National Party
Kuomintang
Communist Party of India (Marxist)
Labour Party
Scottish Labour Party
Pakistan Peoples Party
Alliance '90/The Greens
Bharatiya Janata Party
Ontario Liberal Party
Conservative Party of Canada
Program:
function: Find
inputs: Scottish 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> "Scottish Labour Party" .  } UNION { ?e <pred:name> "Alliance '90/The Greens" .  } ?e <member_count> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Scottish Labour Party