Question: What is the connection between Hapoel Be'er Sheva F.C. to Israel (the one that has a diplomatic relation with Nepal)?
Choices: from fictional universe
industry
located on terrain feature
candidate
country
appointed by
heritage designation
sport
original language of film or TV show
employer
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Hapoel Be'er Sheva F.C." . ?e_2 <pred:name> "Israel" . ?e_2 <diplomatic_relation> ?e_3 . ?e_3 <pred:name> "Nepal" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Hapoel Be'er Sheva F.C.
function: Find
inputs: Nepal
function: Relate
dependencies: 1
inputs: diplomatic relation
backward
function: Find
inputs: Israel
function: And
dependencies: 2
3
function: QueryRelation
dependencies: 0
4
Answer: country