Question: How is Jefferson County whose population is 742256 related to Shelby County whose official website is http://www.shelbycountykentucky.com?
Choices:
drug used for treatment
shares border with
geographic distribution
official symbol
place of birth
properties for this type
grants
software engine
operating area
founded by
Answer: shares border with
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Jefferson County" . ?e_1 <population> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> "742256"^^xsd:double . ?e_2 <pred:name> "Shelby County" . ?e_2 <official_website> ?pv_1 . ?pv_1 <pred:value> "http://www.shelbycountykentucky.com" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Jefferson County
function: FilterNum
dependencies: 0
inputs: population
742256
=
function: Find
inputs: Shelby County
function: FilterStr
dependencies: 2
inputs: official website
http://www.shelbycountykentucky.com
function: QueryRelation
dependencies: 1
3