Question: What kind of relation does Suzhou have with the twinned administrative body of Manila known as Shanghai?
Choices:
headquarters location
parent club
chairperson
member of political party
shares border with
present in work
facet of
board member
statistical leader
medical condition
Program:
function: Find
inputs: Suzhou
function: Find
inputs: Manila
function: Relate
dependencies: 1
inputs: twinned administrative body
backward
function: Find
inputs: Shanghai
function: And
dependencies: 2
3
function: QueryRelation
dependencies: 0
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Suzhou" . ?e_2 <pred:name> "Shanghai" . ?e_2 <twinned_administrative_body> ?e_3 . ?e_3 <pred:name> "Manila" . ?e_1 ?p ?e_2 .  }
Answer: shares border with