Question: What national association football team belongs to the sovereign state that shares the Equatorial Guinea–Gabon border with Gabon?
Choices:
South Korea national football team
Equatorial Guinea national football team
Greece national football team
Germany national football team
China national football team
Cameroon national football team
India national football team
Canada men's national soccer team
North Korea national football team
Iran national football team
Answer: Equatorial Guinea national football team
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "national association football team" . ?e <country_for_sport> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "sovereign state" . ?e_2 <shares_border_with> ?e_1 . ?e_2 <pred:name> "Gabon" . [ <pred:fact_h> ?e_2 ; <pred:fact_r> <shares_border_with> ; <pred:fact_t> ?e_1 ] <statement_is_subject_of> ?qpv . ?qpv <pred:value> "Equatorial Guinea–Gabon border" .   }
Program:
function: Find
inputs: Gabon
function: Relate
dependencies: 0
inputs: shares border with
forward
function: QFilterStr
dependencies: 1
inputs: statement is subject of
Equatorial Guinea–Gabon border
function: FilterConcept
dependencies: 2
inputs: sovereign state
function: Relate
dependencies: 3
inputs: country for sport
backward
function: FilterConcept
dependencies: 4
inputs: national association football team
function: What
dependencies: 5