Question: What is the connection between Tennessee whose ISO 3166-2 code is US-TN and Hamilton County whose area is 1491 square kilometers?
Choices:
business division
part of the series
production designer
developer
sex or gender
located in the administrative territorial entity
contains administrative territorial entity
permanent resident of
ancestral home
head of state
Answer: contains administrative territorial entity
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Tennessee" . ?e_1 <ISO_3166-2_code> ?pv . ?pv <pred:value> "US-TN" . ?e_2 <pred:name> "Hamilton County" . ?e_2 <area> ?pv_1 . ?pv_1 <pred:unit> "square kilometre" . ?pv_1 <pred:value> "1491"^^xsd:double . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Tennessee
function: FilterStr
dependencies: 0
inputs: ISO 3166-2 code
US-TN
function: Find
inputs: Hamilton County
function: FilterNum
dependencies: 2
inputs: area
1491 square kilometre
=
function: QueryRelation
dependencies: 1
3