Question: What is the relationship between Bergamo and the Kingdom of Italy (the one whose native label is Regno d'Italia)?
Choices: home port
sexual orientation
military casualty classification
voice type
exclave of
political alignment
country
production company
enclave within
country of origin
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Bergamo" . ?e_2 <pred:name> "Kingdom of Italy" . ?e_2 <native_label> ?pv . ?pv <pred:value> "Regno d'Italia" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Bergamo
function: Find
inputs: Kingdom of Italy
function: FilterStr
dependencies: 1
inputs: native label
Regno d'Italia
function: QueryRelation
dependencies: 0
2
Answer: country