Question: What is the relationship between Lincoln (the one that was born in Belo Horizonte) and FC Schalke 04?
Choices:
symptoms
rector
member of sports team
industry
operating system
child
general manager
legal form
platform
tributary
Answer: member of sports team
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Lincoln" . ?e_1 <place_of_birth> ?e_3 . ?e_3 <pred:name> "Belo Horizonte" . ?e_2 <pred:name> "FC Schalke 04" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Belo Horizonte
function: Relate
dependencies: 0
inputs: place of birth
backward
function: Find
inputs: Lincoln
function: And
dependencies: 1
2
function: Find
inputs: FC Schalke 04
function: QueryRelation
dependencies: 3
4