Question: What Texas county contains the capital Galveston?
Choices:
Brazoria County
Galveston County
Hidalgo County
Tarrant County
Montgomery County
El Paso County
Cameron County
Bexar County
McLennan County
Harris County
Program:
function: Find
inputs: Galveston
function: Relate
dependencies: 0
inputs: capital of
forward
function: FilterConcept
dependencies: 1
inputs: county of Texas
function: What
dependencies: 2
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> "Galveston" .   }
Answer: Galveston County