Question: How is Somerset County (population 76520) related to Allegany County (population 72528)?
Choices:
distribution
next lower rank
shares border with
father
location of final assembly
distributor
nominated for
symptoms
killed by
screenwriter
Answer: shares border with
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Somerset County" . ?e_1 <population> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> "76520"^^xsd:double . ?e_2 <pred:name> "Allegany County" . ?e_2 <population> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "72528"^^xsd:double . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Somerset County
function: FilterNum
dependencies: 0
inputs: population
76520
=
function: Find
inputs: Allegany County
function: FilterNum
dependencies: 2
inputs: population
72528
=
function: QueryRelation
dependencies: 1
3