Question: What's the relationship between Gwynedd and Bangor (located in Gwynedd)?
Choices:
located in the administrative territorial entity
had as last meal
designated as terrorist by
model item
political alignment
tributary
famous people
appointed by
influenced by
territory overlaps
Program:
function: Find
inputs: Gwynedd
function: Relate
dependencies: 0
inputs: located in the administrative territorial entity
backward
function: Find
inputs: Bangor
function: And
dependencies: 1
2
function: Find
inputs: Gwynedd
function: QueryRelation
dependencies: 3
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Bangor" . ?e_1 <located_in_the_administrative_territorial_entity> ?e_3 . ?e_3 <pred:name> "Gwynedd" . ?e_2 <pred:name> "Gwynedd" . ?e_1 ?p ?e_2 .  }
Answer: located in the administrative territorial entity