Question: How is Polk County, located in North Carolina, related to North Carolina?
Choices:
political ideology
territory overlaps
health specialty
commissioned by
lifestyle
country for sport
position held
home venue
airline alliance
located in the administrative territorial entity
Answer: located in the administrative territorial entity
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Polk County" . ?e_1 <located_in_the_administrative_territorial_entity> ?e_3 . ?e_3 <pred:name> "North Carolina" . ?e_2 <pred:name> "North Carolina" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: North Carolina
function: Relate
dependencies: 0
inputs: located in the administrative territorial entity
backward
function: Find
inputs: Polk County
function: And
dependencies: 1
2
function: Find
inputs: North Carolina
function: QueryRelation
dependencies: 3
4