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