Question: What is the connection between West Midlands (the one whose population is 5602000) to United Kingdom?
Choices:
occupant
source of income
is a list of
fabrication method
has quality
political ideology
subject has role
feast day
located on astronomical location
country
Answer: country
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "West Midlands" . ?e_1 <population> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> "5602000"^^xsd:double . ?e_2 <pred:name> "United Kingdom" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: West Midlands
function: FilterNum
dependencies: 0
inputs: population
5602000
=
function: Find
inputs: United Kingdom
function: QueryRelation
dependencies: 1
2