Question: How is a defender Carlos Ruiz related to Buenos Aires?
Choices:
place of birth
ethnic group
country of origin
military branch
depicted by
religious order
diplomatic relation
business division
place of death
film editor
Program:
function: Find
inputs: defender
function: Relate
dependencies: 0
inputs: position played on team / speciality
backward
function: Find
inputs: Carlos Ruiz
function: And
dependencies: 1
2
function: Find
inputs: Buenos Aires
function: QueryRelation
dependencies: 3
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Carlos Ruiz" . ?e_1 <position_played_on_team_/_speciality> ?e_3 . ?e_3 <pred:name> "defender" . ?e_2 <pred:name> "Buenos Aires" . ?e_1 ?p ?e_2 .  }
Answer: place of birth