Question: What is the FIPS 6-4 (US counties) of the Arizona counth which shares borders with Apache County?
Choices:
36043
18095
04017
48167
36113
36029
33009
11001
26147
08013
Answer: 04017
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "county of Arizona" . ?e_1 <shares_border_with> ?e . ?e_1 <pred:name> "Apache County" .  ?e <FIPS_6-4_(US_counties)> ?pv .  }
Program:
function: Find
inputs: Apache County
function: Relate
dependencies: 0
inputs: shares border with
forward
function: FilterConcept
dependencies: 1
inputs: county of Arizona
function: QueryAttr
dependencies: 2
inputs: FIPS 6-4 (US counties)