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