Question: What is the connection between Carlos Ruiz (the one that is related to sport baseball) to Panama?
Choices:
has part
located in the administrative territorial entity
officeholder
part of
country of citizenship
follows
has dialect (DEPRECATED)
honorific suffix
cause of death
official religion
Answer: country of citizenship
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Carlos Ruiz" . ?e_1 <sport> ?e_3 . ?e_3 <pred:name> "baseball" . ?e_2 <pred:name> "Panama" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: baseball
function: Relate
dependencies: 0
inputs: sport
backward
function: Find
inputs: Carlos Ruiz
function: And
dependencies: 1
2
function: Find
inputs: Panama
function: QueryRelation
dependencies: 3
4