Question: What is the length of term of office for the governor who heads the government of Texas (the one whose elevation (above sea level) is 520 metre)?
Choices: 5 milligram per cubic meter
4 year
tami1289
partnership
1390356
0.013 barrels per day
9600000000 United States dollar
2 month
558690
b681467
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "governor" . ?e_1 <office_held_by_head_of_government> ?e . ?e_1 <pred:name> "Texas" . ?e_1 <elevation_above_sea_level> ?pv_1 . ?pv_1 <pred:unit> "metre" . ?pv_1 <pred:value> "520"^^xsd:double . ?e <term_length_of_office> ?pv .  }
Program:
function: Find
inputs: Texas
function: FilterNum
dependencies: 0
inputs: elevation above sea level
520 metre
=
function: Relate
dependencies: 1
inputs: office held by head of government
forward
function: FilterConcept
dependencies: 2
inputs: governor
function: QueryAttr
dependencies: 3
inputs: term length of office
Answer: 4 year