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