Question: For the agent headed by Speaker of the United States House of Representatives, having number of seats 435, tell me the expect.
Choices:
Saint Pierre and Miquelon
half-time
Wallis and Futuna
Lapu-Lapu
non-voting member of the US House of Representatives
Canada
Adélie Land
Saint-Barthélemy
Clipperton Island
stoppage time
Answer: non-voting member of the US House of Representatives
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "agent" . ?e <office_held_by_head_of_the_organisation> ?e_1 . ?e_1 <pred:name> "speaker of the United States House of Representatives" .  ?e <number_of_seats> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> "435"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <number_of_seats> ; <pred:fact_t> ?pv ] <excluding> ?qpv .  }
Program:
function: Find
inputs: speaker of the United States House of Representatives
function: Relate
dependencies: 0
inputs: office held by head of the organisation
backward
function: FilterConcept
dependencies: 1
inputs: agent
function: QueryAttrQualifier
dependencies: 2
inputs: number of seats
435
excluding