Question: How is Sialkot related to Punjab with capital Lahore?
Choices:
history of topic
contains administrative territorial entity
performer
signatory
medical treatment
head coach
located in the administrative territorial entity
exclave of
parent organization
has quality
Answer: located in the administrative territorial entity
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Sialkot" . ?e_2 <pred:name> "Punjab" . ?e_2 <capital> ?e_3 . ?e_3 <pred:name> "Lahore" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Sialkot
function: Find
inputs: Lahore
function: Relate
dependencies: 1
inputs: capital
backward
function: Find
inputs: Punjab
function: And
dependencies: 2
3
function: QueryRelation
dependencies: 0
4