Question: Does the House of Lords (United Kingdom) or the House of Representatives have a greater number of seats?
Choices:
McDonald's
House of Representatives
House of Lords
BBC
Academy of Television Arts & Sciences
NBCUniversal
Hamburger SV
E. W. Scripps Company
Pfizer
Vigor Shipyards
Program:
function: Find
inputs: United Kingdom
function: Relate
dependencies: 0
inputs: country
backward
function: Find
inputs: House of Lords
function: And
dependencies: 1
2
function: Find
inputs: House of Representatives
function: SelectBetween
dependencies: 3
4
inputs: number of seats
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "House of Lords" . ?e <country> ?e_1 . ?e_1 <pred:name> "United Kingdom" .   } UNION { ?e <pred:name> "House of Representatives" .  } ?e <number_of_seats> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: House of Lords