Question: What part of Italy is near the Ivory Coast part of Africa?
Choices: Stewart County
Decatur County
Pelagie Islands
Robertson County
Dickson County
Kungsbacka Municipality
Scotland
Fentress County
Western Japan
campsite
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Italy" . ?e_2 <pred:name> "Africa" . ?e_3 <continent> ?e_2 . ?e_3 <pred:name> "Ivory Coast" . ?e_1 <continent> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <continent> ; <pred:fact_t> ?e_2 ] <applies_to_part> ?qpv .  }
Program:
function: Find
inputs: Italy
function: Find
inputs: Ivory Coast
function: Relate
dependencies: 1
inputs: continent
forward
function: Find
inputs: Africa
function: And
dependencies: 2
3
function: QueryRelationQualifier
dependencies: 0
4
inputs: continent
applies to part
Answer: Pelagie Islands