Question: Which has the most seats among the organizations whose seat count is less than 590?
Choices:
Ohio Senate
Western Australian Legislative Assembly
House of Commons
New South Wales Legislative Assembly
United States House of Representatives
House of Representatives
California State Assembly
Parliament of Canada
Senate of Australia
French National Assembly
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: number of seats
590
<
function: FilterConcept
dependencies: 1
inputs: organization
function: SelectAmong
dependencies: 2
inputs: number of seats
largest
SPARQL: SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "organization" . ?e <number_of_seats> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 < "590"^^xsd:double ) . ?e <number_of_seats> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: French National Assembly