Question: Which has more seats, Bharatiya Janata Party or Kuomintang?
Choices:
Scottish National Party
Christian Democratic Union
Bharatiya Janata Party
Labour Party
Conservative Party of Canada
Communist Party of India (Marxist)
Ontario Liberal Party
United National Party
Kuomintang
Indian National Congress
Program:
function: Find
inputs: Bharatiya Janata Party
function: Find
inputs: Kuomintang
function: SelectBetween
dependencies: 0
1
inputs: number of representatives in an organization/legislature
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Bharatiya Janata Party" .  } UNION { ?e <pred:name> "Kuomintang" .  } ?e <number_of_representatives_in_an_organization/legislature> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Bharatiya Janata Party