Question: What is the relationship between Orange County (the one whose population is 28899) to Windsor County?
Choices:
headquarters location
newspaper format
general manager
place of death
location of discovery
movement
shares border with
drug used for treatment
composer
contains settlement
Program:
function: Find
inputs: Orange County
function: FilterNum
dependencies: 0
inputs: population
28899
=
function: Find
inputs: Windsor County
function: QueryRelation
dependencies: 1
2
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Orange County" . ?e_1 <population> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> "28899"^^xsd:double . ?e_2 <pred:name> "Windsor County" . ?e_1 ?p ?e_2 .  }
Answer: shares border with