Question: What is the relationship between Thuringia (the one whose population is 2161000) and Gotha (the one whose NUTS code is DEG0C)?
Choices:
contains administrative territorial entity
terminus
dissertation submitted to
update method
history of topic
student
killed by
indigenous to
has immediate cause
penalty
Answer: contains administrative territorial entity
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Thuringia" . ?e_1 <population> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> "2161000"^^xsd:double . ?e_2 <pred:name> "Gotha" . ?e_2 <NUTS_code> ?pv_1 . ?pv_1 <pred:value> "DEG0C" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Thuringia
function: FilterNum
dependencies: 0
inputs: population
2161000
=
function: Find
inputs: Gotha
function: FilterStr
dependencies: 2
inputs: NUTS code
DEG0C
function: QueryRelation
dependencies: 1
3