Question: Does the Green Party of the United States or the Communist Party of Germany have more members?
Choices:
Ontario Liberal Party
Green Party of the United States
Pakistan Peoples Party
Indian National Congress
Conservative Party of Canada
Communist Party of Germany
Labour Party
Communist Party of India (Marxist)
Kuomintang
Bharatiya Janata Party
Program:
function: Find
inputs: Green Party of the United States
function: Find
inputs: Communist Party of Germany
function: SelectBetween
dependencies: 0
1
inputs: member count
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Green Party of the United States" .  } UNION { ?e <pred:name> "Communist Party of Germany" .  } ?e <member_count> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Communist Party of Germany