Question: What is the connection between Indonesia to Bali (the one whose ISO 3166-2 code is ID-BA)?
Choices:
fabrication method
parent astronomical body
production designer
sidekick of
contains administrative territorial entity
has cause
original film format
subject has role
broadcast by
mascot
Program:
function: Find
inputs: Indonesia
function: Find
inputs: Bali
function: FilterStr
dependencies: 1
inputs: ISO 3166-2 code
ID-BA
function: QueryRelation
dependencies: 0
2
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Indonesia" . ?e_2 <pred:name> "Bali" . ?e_2 <ISO_3166-2_code> ?pv . ?pv <pred:value> "ID-BA" . ?e_1 ?p ?e_2 .  }
Answer: contains administrative territorial entity