Question: How is Cape Verde connected to Russia?
Choices:
diplomatic relation
country
organizer
political ideology
has immediate cause
has quality
winner
film release region
country for sport
illustrator
Program:
function: Find
inputs: Cape Verde
function: Find
inputs: Russia
function: QueryRelation
dependencies: 0
1
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Cape Verde" . ?e_2 <pred:name> "Russia" . ?e_1 ?p ?e_2 .  }
Answer: diplomatic relation