Question: How is Shanghai, twin administrative body of Montreal, related to Colombo?
Choices:
contributor(s) to the creative work
practiced by
this taxon is source of
spouse
has part
applies to jurisdiction
position held
had as last meal
twinned administrative body
parent astronomical body
Program:
function: Find
inputs: Montreal
function: Relate
dependencies: 0
inputs: twinned administrative body
backward
function: Find
inputs: Shanghai
function: And
dependencies: 1
2
function: Find
inputs: Colombo
function: QueryRelation
dependencies: 3
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Shanghai" . ?e_1 <twinned_administrative_body> ?e_3 . ?e_3 <pred:name> "Montreal" . ?e_2 <pred:name> "Colombo" . ?e_1 ?p ?e_2 .  }
Answer: twinned administrative body