Question: Of counties in the Texas led by a Secretary of State, which occupies the most area?
Choices:
Bexar County
Dallas County
El Paso County
Montgomery County
Harris County
McLennan County
Hidalgo County
Collin County
Johnson County
Cameron County
Answer: Harris County
SPARQL: SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "county of Texas" . ?e <located_in_the_administrative_territorial_entity> ?e_1 . ?e_1 <pred:name> "Texas" . ?e_1 <office_held_by_head_of_government> ?e_2 . ?e_2 <pred:name> "Secretary of State" .  ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Secretary of State
function: Relate
dependencies: 0
inputs: office held by head of government
backward
function: Find
inputs: Texas
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: located in the administrative territorial entity
backward
function: FilterConcept
dependencies: 4
inputs: county of Texas
function: SelectAmong
dependencies: 5
inputs: area
largest