Question: What is the relationship between Gold Coast (the one that is replaced by Ghana) and Ghana?
Choices:
interests
director
spouse
penalty
stated in
screenwriter
organisation directed from the office or person
fabrication method
copyright representative
replaced by
Answer: replaced by
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Gold Coast" . ?e_1 <replaced_by> ?e_3 . ?e_3 <pred:name> "Ghana" . ?e_2 <pred:name> "Ghana" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Ghana
function: Relate
dependencies: 0
inputs: replaced by
backward
function: Find
inputs: Gold Coast
function: And
dependencies: 1
2
function: Find
inputs: Ghana
function: QueryRelation
dependencies: 3
4