Question: What is the relationship between Bali (the one whose ISO 3166-2 code is ID-BA) to Indonesia?
Choices: mother
legislative body
religious order
film release region
lowest point
publisher
country
studied by
mascot
donated by
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Bali" . ?e_1 <ISO_3166-2_code> ?pv . ?pv <pred:value> "ID-BA" . ?e_2 <pred:name> "Indonesia" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Bali
function: FilterStr
dependencies: 0
inputs: ISO 3166-2 code
ID-BA
function: Find
inputs: Indonesia
function: QueryRelation
dependencies: 1
2
Answer: country