Question: How is Sabrina who lives in Los Angeles related to the United States?
Choices:
country for sport
culture
noble title
diaspora
draft pick from school
chief executive officer
located in the administrative territorial entity
country of citizenship
original film format
significant event
Program:
function: Find
inputs: Los Angeles
function: Relate
dependencies: 0
inputs: residence
backward
function: Find
inputs: Sabrina
function: And
dependencies: 1
2
function: Find
inputs: United States of America
function: QueryRelation
dependencies: 3
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Sabrina" . ?e_1 <residence> ?e_3 . ?e_3 <pred:name> "Los Angeles" . ?e_2 <pred:name> "United States of America" . ?e_1 ?p ?e_2 .  }
Answer: country of citizenship