Question: What is the relation between Niagara County, and Genesee County (the one whose population is 60040)?
Choices: part of
located in time zone
professional or sports partner
occupant
shares border with
season starts
art director
color
sidekick of
professorship
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Niagara County" . ?e_2 <pred:name> "Genesee County" . ?e_2 <population> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> "60040"^^xsd:double . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Niagara County
function: Find
inputs: Genesee County
function: FilterNum
dependencies: 1
inputs: population
60040
=
function: QueryRelation
dependencies: 0
2
Answer: shares border with