Question: What is the relationship between Somerset (the one whose population is 940200) and the United Kingdom?
Choices:
kit supplier
affiliation
mascot
famous people
military casualty classification
afflicts
operator
distribution
filming location
country
Program:
function: Find
inputs: Somerset
function: FilterNum
dependencies: 0
inputs: population
940200
=
function: Find
inputs: United Kingdom
function: QueryRelation
dependencies: 1
2
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Somerset" . ?e_1 <population> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> "940200"^^xsd:double . ?e_2 <pred:name> "United Kingdom" . ?e_1 ?p ?e_2 .  }
Answer: country