Question: What is the relation between St. Louis County and Madison County?
Choices:
territory claimed by
product or material produced
mascot
derivative work
residence
shares border with
student of
has part
nominated for
cause of death
Program:
function: Find
inputs: St. Louis County
function: FilterStr
dependencies: 0
inputs: official website
http://www.stlouisco.com
function: Find
inputs: St. Louis
function: Relate
dependencies: 2
inputs: shares border with
backward
function: Find
inputs: Madison County
function: And
dependencies: 3
4
function: QueryRelation
dependencies: 1
5
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "St. Louis County" . ?e_1 <official_website> ?pv . ?pv <pred:value> "http://www.stlouisco.com" . ?e_2 <pred:name> "Madison County" . ?e_2 <shares_border_with> ?e_3 . ?e_3 <pred:name> "St. Louis" . ?e_1 ?p ?e_2 .  }
Answer: shares border with