Question: What relationship exists between Franklin County, population 23087, and Hamilton County, headquartered in Cincinnati?
Choices:
used by
shares border with
geographic distribution
source of income
illustrator
Wikidata property
political alignment
award received
main subject
original film format
Answer: shares border with
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Franklin County" . ?e_1 <population> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> "23087"^^xsd:double . ?e_2 <pred:name> "Hamilton County" . ?e_2 <headquarters_location> ?e_3 . ?e_3 <pred:name> "Cincinnati" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Franklin County
function: FilterNum
dependencies: 0
inputs: population
23087
=
function: Find
inputs: Cincinnati
function: Relate
dependencies: 2
inputs: headquarters location
backward
function: Find
inputs: Hamilton County
function: And
dependencies: 3
4
function: QueryRelation
dependencies: 1
5