Question: How is Carlos Ruiz, the football manager, related to Buenos Aires?
Choices:
after a work by
place of birth
studied by
employer
main subject
place of origin (Switzerland)
copyright representative
country of origin
geography of topic
has immediate cause
Program:
function: Find
inputs: association football manager
function: Relate
dependencies: 0
inputs: occupation
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 <occupation> ?e_3 . ?e_3 <pred:name> "association football manager" . ?e_2 <pred:name> "Buenos Aires" . ?e_1 ?p ?e_2 .  }
Answer: place of birth