Question: Austin is the capital of which Texas county in the Texas that belongs to the USA?
Choices:
Travis County
Hidalgo County
Montgomery County
El Paso County
Galveston County
Harris County
Brazoria County
Denton County
McLennan County
Cameron County
Program:
function: Find
inputs: United States of America
function: Relate
dependencies: 0
inputs: country
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: Find
inputs: Austin
function: Relate
dependencies: 6
inputs: capital
backward
function: FilterConcept
dependencies: 7
inputs: county of Texas
function: And
dependencies: 5
8
function: What
dependencies: 9
SPARQL: SELECT DISTINCT ?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 <country> ?e_2 . ?e_2 <pred:name> "United States of America" .  ?e <capital> ?e_3 . ?e_3 <pred:name> "Austin" .  }
Answer: Travis County