Question: What is the relationship between Utah (the one that contains Cache County) and Tooele County?
Choices:
field of this occupation
original network
has quality
natural product of taxon
contains administrative territorial entity
operator
office held by head of state
professional or sports partner
sports season of league or competition
newspaper format
Program:
function: Find
inputs: Cache County
function: Relate
dependencies: 0
inputs: located in the administrative territorial entity
forward
function: Find
inputs: Utah
function: And
dependencies: 1
2
function: Find
inputs: Tooele County
function: QueryRelation
dependencies: 3
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Utah" . ?e_3 <located_in_the_administrative_territorial_entity> ?e_1 . ?e_3 <pred:name> "Cache County" . ?e_2 <pred:name> "Tooele County" . ?e_1 ?p ?e_2 .  }
Answer: contains administrative territorial entity