Question: Tell me the one that has more members, Communist Party of China or Communist Party of the Soviet Union
Choices:
Ontario Liberal Party
Communist Party of China
Labour Party
Indian National Congress
United National Party
Kuomintang
Communist Party of the Soviet Union
Pakistan Peoples Party
Bharatiya Janata Party
Conservative Party of Canada
Program:
function: Find
inputs: Communist Party of China
function: Find
inputs: Communist Party of the Soviet Union
function: SelectBetween
dependencies: 0
1
inputs: member count
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Communist Party of China" .  } UNION { ?e <pred:name> "Communist Party of the Soviet Union" .  } ?e <member_count> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Communist Party of China