Question: What kind of relationship exists between Cuba, where Amistad takes place, and conga?
Choices:
has dialect (DEPRECATED)
country of origin
spouse
noble title
follows
present in work
culture
official religion
parent astronomical body
named after
Answer: country of origin
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "conga" . ?e_2 <pred:name> "Cuba" . ?e_3 <narrative_location> ?e_2 . ?e_3 <pred:name> "Amistad" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: conga
function: Find
inputs: Amistad
function: Relate
dependencies: 1
inputs: narrative location
forward
function: Find
inputs: Cuba
function: And
dependencies: 2
3
function: QueryRelation
dependencies: 0
4