Question: Houston, with the demonym Houstonian, is the capital of which Texas county?
Choices:
Hidalgo County
Cameron County
Harris County
Montgomery County
Tarrant County
Dallas County
El Paso County
Johnson County
McLennan County
Brazoria County
Program:
function: Find
inputs: Houston
function: FilterStr
dependencies: 0
inputs: demonym
Houstonian
function: Relate
dependencies: 1
inputs: capital of
forward
function: FilterConcept
dependencies: 2
inputs: county of Texas
function: What
dependencies: 3
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "county of Texas" . ?e_1 <capital_of> ?e . ?e_1 <pred:name> "Houston" . ?e_1 <demonym> ?pv . ?pv <pred:value> "Houstonian" .   }
Answer: Harris County