Question: Which has more seats, Senate of Canada or French National Assembly?
Choices:
NBCUniversal
McDonald's
Vigor Shipyards
Pfizer
French National Assembly
Senate of Canada
Hamburger SV
BBC
Academy of Television Arts & Sciences
United States Department of the Air Force
Program:
function: Find
inputs: Senate 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> "Senate 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