Question: What position is the head of government of the state in the United States whose name is CA for short?
Choices:
lieutenant governor
director general
state senator
secretary of state
Member of Congress
bishop
Secretary of State
soldier
Vice President of the United States
commissioner
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: short name
CA
function: FilterConcept
dependencies: 1
inputs: state of the United States
function: Relate
dependencies: 2
inputs: office held by head of government
forward
function: FilterConcept
dependencies: 3
inputs: position
function: What
dependencies: 4
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "position" . ?e_1 <office_held_by_head_of_government> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "state of the United States" . ?e_1 <short_name> ?pv . ?pv <pred:value> "CA" .   }
Answer: state senator