Question: What is the connection between Rotterdam (the one that is the twinned administrative body of Saint Petersburg) to Lille?
Choices:
main subject
location
participant of
twinned administrative body
official symbol
country
territory claimed by
separated from
continent
successful candidate
Program:
function: Find
inputs: Saint Petersburg
function: Relate
dependencies: 0
inputs: twinned administrative body
backward
function: Find
inputs: Rotterdam
function: And
dependencies: 1
2
function: Find
inputs: Lille
function: QueryRelation
dependencies: 3
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Rotterdam" . ?e_1 <twinned_administrative_body> ?e_3 . ?e_3 <pred:name> "Saint Petersburg" . ?e_2 <pred:name> "Lille" . ?e_1 ?p ?e_2 .  }
Answer: twinned administrative body