Question: Which has more seats, Parliament of Canada or French National Assembly?
Choices:
Vigor Shipyards
BBC
Pfizer
French National Assembly
United States Department of the Air Force
McDonald's
Parliament of Canada
Academy of Television Arts & Sciences
Hamburger SV
E. W. Scripps Company
Program:
function: Find
inputs: Parliament of Canada
function: Find
inputs: French National Assembly
function: SelectBetween
dependencies: 0
1
inputs: number of seats
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Parliament of Canada" .  } UNION { ?e <pred:name> "French National Assembly" .  } ?e <number_of_seats> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: French National Assembly