Question: Carlos Ruiz from Buenos Aires is related to Argentina in which manner?
Choices:
manufacturer
edition or translation of
country of citizenship
sibling
dissertation submitted to
filmography
place of publication
fabrication method
domain of saint or deity
taxon rank
Program:
function: Find
inputs: Buenos Aires
function: Relate
dependencies: 0
inputs: place of birth
backward
function: Find
inputs: Carlos Ruiz
function: And
dependencies: 1
2
function: Find
inputs: Argentina
function: QueryRelation
dependencies: 3
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Carlos Ruiz" . ?e_1 <place_of_birth> ?e_3 . ?e_3 <pred:name> "Buenos Aires" . ?e_2 <pred:name> "Argentina" . ?e_1 ?p ?e_2 .  }
Answer: country of citizenship