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