Question: Which can claim fewer seats, Bharatiya Janata Party or Alliance '90/The Greens?
Choices:
Indian National Congress
Conservative Party of Canada
Alliance '90/The Greens
Communist Party of India (Marxist)
Christian Democratic Union
Labour Party
United National Party
Pakistan Peoples Party
Ontario Liberal Party
Bharatiya Janata Party
Program:
function: Find
inputs: Bharatiya Janata Party
function: Find
inputs: Alliance '90/The Greens
function: SelectBetween
dependencies: 0
1
inputs: number of representatives in an organization/legislature
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Bharatiya Janata Party" .  } UNION { ?e <pred:name> "Alliance '90/The Greens" .  } ?e <number_of_representatives_in_an_organization/legislature> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Alliance '90/The Greens