Question: Which has fewer seats, House of Lords (the one whose inception time is 1801-01-22) or New South Wales Legislative Assembly?
Choices:
E. W. Scripps Company
Hamburger SV
Vigor Shipyards
New South Wales Legislative Assembly
Pfizer
United States Department of the Air Force
NBCUniversal
House of Lords
Academy of Television Arts & Sciences
McDonald's
Program:
function: Find
inputs: House of Lords
function: FilterDate
dependencies: 0
inputs: inception
1801-01-22
=
function: Find
inputs: New South Wales Legislative Assembly
function: SelectBetween
dependencies: 1
2
inputs: number of seats
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "House of Lords" . ?e <inception> ?pv_1 . ?pv_1 <pred:date> "1801-01-22"^^xsd:date . } UNION { ?e <pred:name> "New South Wales Legislative Assembly" . } ?e <number_of_seats> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: New South Wales Legislative Assembly