Question: How is Gloucester (population 145563) related to the United Kingdom?
Choices: statistical leader
contributor(s) to the creative work
product or material produced
patron saint
country
spouse
basic form of government
filming location
headquarters location
honorific prefix
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Gloucester" . ?e_1 <population> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> "145563"^^xsd:double . ?e_2 <pred:name> "United Kingdom" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Gloucester
function: FilterNum
dependencies: 0
inputs: population
145563
=
function: Find
inputs: United Kingdom
function: QueryRelation
dependencies: 1
2
Answer: country