Question: What is the relationship between Carlos Ruiz, whose sport number is 20, and Guatemala City?
Choices:
manner of death
nutrient
mother
located in or next to body of water
derivative work
place of birth
part of
architectural style
time period
has part
Program:
function: Find
inputs: Carlos Ruiz
function: FilterStr
dependencies: 0
inputs: sport number
20
function: Find
inputs: Guatemala City
function: QueryRelation
dependencies: 1
2
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Carlos Ruiz" . ?e_1 <sport_number> ?pv . ?pv <pred:value> "20" . ?e_2 <pred:name> "Guatemala City" . ?e_1 ?p ?e_2 .  }
Answer: place of birth