Question: What is the connection between Saint Petersburg to Havana (the one that is the twinned administrative body of Mexico City)?
Choices:
participant
this taxon is source of
characters
twinned administrative body
statistical leader
located on terrain feature
capital of
chief executive officer
member of sports team
production designer
Program:
function: Find
inputs: Saint Petersburg
function: Find
inputs: Mexico City
function: Relate
dependencies: 1
inputs: twinned administrative body
forward
function: Find
inputs: Havana
function: And
dependencies: 2
3
function: QueryRelation
dependencies: 0
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Saint Petersburg" . ?e_2 <pred:name> "Havana" . ?e_3 <twinned_administrative_body> ?e_2 . ?e_3 <pred:name> "Mexico City" . ?e_1 ?p ?e_2 .  }
Answer: twinned administrative body