Question: Gotha, population 136831, is related in what way to Germany?
Choices: mouth of the watercourse
patron saint
has edition
record label
religious order
country
work location
applies to jurisdiction
commander of
candidate
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Gotha" . ?e_1 <population> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> "136831"^^xsd:double . ?e_2 <pred:name> "Germany" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Gotha
function: FilterNum
dependencies: 0
inputs: population
136831
=
function: Find
inputs: Germany
function: QueryRelation
dependencies: 1
2
Answer: country