Question: What is the relationship between Antwerp (that is the twinned administrative body of Saint Petersburg) and the Dutch Republic?
Choices:
political ideology
exported to
affiliation
country
medical condition
mascot
librettist
dissertation submitted to
doctoral student
source of income
Program:
function: Find
inputs: Saint Petersburg
function: Relate
dependencies: 0
inputs: twinned administrative body
forward
function: Find
inputs: Antwerp
function: And
dependencies: 1
2
function: Find
inputs: Dutch Republic
function: QueryRelation
dependencies: 3
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Antwerp" . ?e_3 <twinned_administrative_body> ?e_1 . ?e_3 <pred:name> "Saint Petersburg" . ?e_2 <pred:name> "Dutch Republic" . ?e_1 ?p ?e_2 .  }
Answer: country