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