Question: What is the FIPS 6-4 (US counties) for a Virginian county that borders Richmont (with the population of 214,114) ?
Choices:
36101
47113
41037
51087
37119
51590
27053
51165
48029
51680
Answer: 51087
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "county of Virginia" . ?e_1 <shares_border_with> ?e . ?e_1 <pred:name> "Richmond" . ?e_1 <population> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "214114"^^xsd:double . ?e <FIPS_6-4_(US_counties)> ?pv .  }
Program:
function: Find
inputs: Richmond
function: FilterNum
dependencies: 0
inputs: population
214114
=
function: Relate
dependencies: 1
inputs: shares border with
forward
function: FilterConcept
dependencies: 2
inputs: county of Virginia
function: QueryAttr
dependencies: 3
inputs: FIPS 6-4 (US counties)