Question: What agent has more than 75 seats and has a headquarters location in Sacramento?
Choices:
The McClatchy Company
Pfizer
House of Representatives
BBC
Parliament of Canada
California State Assembly
McDonald's
E. W. Scripps Company
New South Wales Legislative Assembly
Academy of Television Arts & Sciences
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: number of seats
75
>
function: FilterConcept
dependencies: 1
inputs: agent
function: Find
inputs: Sacramento
function: Relate
dependencies: 3
inputs: headquarters location
backward
function: FilterConcept
dependencies: 4
inputs: agent
function: And
dependencies: 2
5
function: What
dependencies: 6
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "agent" . ?e <number_of_seats> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> ?v . FILTER ( ?v > "75"^^xsd:double ) . ?e <headquarters_location> ?e_1 . ?e_1 <pred:name> "Sacramento" .  }
Answer: California State Assembly