Question: I need to know the relation between Butler County (which has an area of 2058 square kilometres) and Beaver County
Choices:
military casualty classification
airline hub
does not have part
licensed to broadcast to
vehicle normally used
hair color
manner of death
residence
shares border with
sponsor
Program:
function: Find
inputs: Butler County
function: FilterNum
dependencies: 0
inputs: area
2058 square kilometre
=
function: Find
inputs: Beaver County
function: QueryRelation
dependencies: 1
2
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Butler County" . ?e_1 <area> ?pv . ?pv <pred:unit> "square kilometre" . ?pv <pred:value> "2058"^^xsd:double . ?e_2 <pred:name> "Beaver County" . ?e_1 ?p ?e_2 .  }
Answer: shares border with