Question: What is the connection between San Francisco (the one that shares border with Alameda) to Abidjan?
Choices:
influenced by
field of work
history of topic
fictional universe described in
twinned administrative body
conferred by
followed by
family
licensed to broadcast to
season starts
Program:
function: Find
inputs: Alameda
function: Relate
dependencies: 0
inputs: shares border with
forward
function: Find
inputs: San Francisco
function: And
dependencies: 1
2
function: Find
inputs: Abidjan
function: QueryRelation
dependencies: 3
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "San Francisco" . ?e_3 <shares_border_with> ?e_1 . ?e_3 <pred:name> "Alameda" . ?e_2 <pred:name> "Abidjan" . ?e_1 ?p ?e_2 .  }
Answer: twinned administrative body