Question: What does Clinton County (whose FIPS 6-4 (US counties) is 17027) have to do with to St. Clair County (which contains East St. Louis)?
Choices:
publisher
chief executive officer
currency
head of state
professional or sports partner
set in period
draft pick from school
published in
owned by
shares border with
Program:
function: Find
inputs: Clinton County
function: FilterStr
dependencies: 0
inputs: FIPS 6-4 (US counties)
17027
function: Find
inputs: East St. Louis
function: Relate
dependencies: 2
inputs: located in the administrative territorial entity
forward
function: Find
inputs: St. Clair County
function: And
dependencies: 3
4
function: QueryRelation
dependencies: 1
5
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Clinton County" . ?e_1 <FIPS_6-4_(US_counties)> ?pv . ?pv <pred:value> "17027" . ?e_2 <pred:name> "St. Clair County" . ?e_3 <located_in_the_administrative_territorial_entity> ?e_2 . ?e_3 <pred:name> "East St. Louis" . ?e_1 ?p ?e_2 .  }
Answer: shares border with