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