Question: What is the connection between Naples (the one that is the twinned administrative body of Honolulu County) to Valencia (the one that is the twinned administrative body of Plovdiv)?
Choices: geographic distribution
has parts of the class
subsidiary
narrative role
twinned administrative body
employer
religion
family name
place of birth
afflicts
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Naples" . ?e_3 <twinned_administrative_body> ?e_1 . ?e_3 <pred:name> "Honolulu County" . ?e_2 <pred:name> "Valencia" . ?e_2 <twinned_administrative_body> ?e_4 . ?e_4 <pred:name> "Plovdiv" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Honolulu County
function: Relate
dependencies: 0
inputs: twinned administrative body
forward
function: Find
inputs: Naples
function: And
dependencies: 1
2
function: Find
inputs: Plovdiv
function: Relate
dependencies: 4
inputs: twinned administrative body
backward
function: Find
inputs: Valencia
function: And
dependencies: 5
6
function: QueryRelation
dependencies: 3
7
Answer: twinned administrative body