Question: What is the association of Ali (who is a citizen of the United States of America) with the United States of America?
Choices:
voice type
destination point
properties for this type
founded by
medical condition
follows
place of death
professional or sports partner
publisher
country of citizenship
Answer: country of citizenship
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Ali" . ?e_1 <country_of_citizenship> ?e_3 . ?e_3 <pred:name> "United States of America" . ?e_2 <pred:name> "United States of America" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: United States of America
function: Relate
dependencies: 0
inputs: country of citizenship
backward
function: Find
inputs: Ali
function: And
dependencies: 1
2
function: Find
inputs: United States of America
function: QueryRelation
dependencies: 3
4