Question: Which has fewer seats, the House of Representatives or House of Lords (the one whose official website is http://www.parliament.uk/lords/)?
Choices:
Academy of Television Arts & Sciences
NBCUniversal
Pfizer
BBC
United States Department of the Air Force
Vigor Shipyards
Hamburger SV
House of Lords
House of Representatives
E. W. Scripps Company
Program:
function: Find
inputs: House of Representatives
function: Find
inputs: House of Lords
function: FilterStr
dependencies: 1
inputs: official website
http://www.parliament.uk/lords/
function: SelectBetween
dependencies: 0
2
inputs: number of seats
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "House of Representatives" . } UNION { ?e <pred:name> "House of Lords" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> "http://www.parliament.uk/lords/" . } ?e <number_of_seats> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: House of Representatives