Question: What is the connection between Scotland (the one that contains Scots) to Perth and Kinross?
Choices:
position held
contains administrative territorial entity
student of
original language of film or TV show
registered with
drafted by
public holiday
mountain range
geography of topic
used by
Answer: contains administrative territorial entity
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Scotland" . ?e_3 <located_in_the_administrative_territorial_entity> ?e_1 . ?e_3 <pred:name> "Scots" . ?e_2 <pred:name> "Perth and Kinross" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Scots
function: Relate
dependencies: 0
inputs: located in the administrative territorial entity
forward
function: Find
inputs: Scotland
function: And
dependencies: 1
2
function: Find
inputs: Perth and Kinross
function: QueryRelation
dependencies: 3
4