Question: What county in Texas shares a border with Galveston County (the direction relative to location of this statement is west)?
Choices: Tarrant County
McLennan County
Denton County
Hidalgo County
Cameron County
Dallas County
Montgomery County
El Paso County
Brazoria County
Johnson County
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "county of Texas" . ?e_1 <shares_border_with> ?e . ?e_1 <pred:name> "Galveston County" .  [ <pred:fact_h> ?e_1 ; <pred:fact_r> <shares_border_with> ; <pred:fact_t> ?e ] <direction_relative_to_location> ?qpv . ?qpv <pred:value> "west" .  }
Program:
function: Find
inputs: Galveston County
function: Relate
dependencies: 0
inputs: shares border with
forward
function: QFilterStr
dependencies: 1
inputs: direction relative to location
west
function: FilterConcept
dependencies: 2
inputs: county of Texas
function: What
dependencies: 3
Answer: Brazoria County