Question: How is Cornwall related to Devon whose population is 1135700?
Choices:
lyrics by
indigenous to
located in or next to body of water
general manager
dedicated to
inspired by
coextensive with
shares border with
territory claimed by
field of this occupation
Answer: shares border with
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Cornwall" . ?e_2 <pred:name> "Devon" . ?e_2 <population> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> "1135700"^^xsd:double . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Cornwall
function: Find
inputs: Devon
function: FilterNum
dependencies: 1
inputs: population
1135700
=
function: QueryRelation
dependencies: 0
2