Question: How is Utah (the one that contains the administrative division called Utah County) related to Idaho (the one whose motto text is Esto perpetua) ?
Choices: indigenous to
territory overlaps
office held by head of government
owner of
business division
located in time zone
shares border with
make-up artist
location
has cause
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Utah" . ?e_1 <contains_administrative_territorial_entity> ?e_3 . ?e_3 <pred:name> "Utah County" . ?e_2 <pred:name> "Idaho" . ?e_2 <motto_text> ?pv . ?pv <pred:value> "Esto perpetua" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Utah County
function: Relate
dependencies: 0
inputs: contains administrative territorial entity
backward
function: Find
inputs: Utah
function: And
dependencies: 1
2
function: Find
inputs: Idaho
function: FilterStr
dependencies: 4
inputs: motto text
Esto perpetua
function: QueryRelation
dependencies: 3
5
Answer: shares border with