Question: What is the connection between Mobile (the one that is the twinned administrative body of Rostov-on-Don) to Havana (the one that is the narrative location of Anthony Adverse)?
Choices:
operating area
narrative role
cast member
legislative body
designated as terrorist by
place of publication
conferred by
office held by head of government
published in
twinned administrative body
Answer: twinned administrative body
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Mobile" . ?e_3 <twinned_administrative_body> ?e_1 . ?e_3 <pred:name> "Rostov-on-Don" . ?e_2 <pred:name> "Havana" . ?e_4 <narrative_location> ?e_2 . ?e_4 <pred:name> "Anthony Adverse" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Rostov-on-Don
function: Relate
dependencies: 0
inputs: twinned administrative body
forward
function: Find
inputs: Mobile
function: And
dependencies: 1
2
function: Find
inputs: Anthony Adverse
function: Relate
dependencies: 4
inputs: narrative location
forward
function: Find
inputs: Havana
function: And
dependencies: 5
6
function: QueryRelation
dependencies: 3
7