Question: How is Devon whose population is 1135700 related to Cornwall?
Choices:
writing system
twinned administrative body
draft pick from school
business division
chairperson
place of origin (Switzerland)
location
vehicle normally used
shares border with
indigenous to
Program:
function: Find
inputs: Devon
function: FilterNum
dependencies: 0
inputs: population
1135700
=
function: Find
inputs: Cornwall
function: QueryRelation
dependencies: 1
2
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Devon" . ?e_1 <population> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> "1135700"^^xsd:double . ?e_2 <pred:name> "Cornwall" . ?e_1 ?p ?e_2 .  }
Answer: shares border with