Question: How is Bari related to Apulia?
Choices:
award disciplines or subjects
location of final assembly
conferred by
Wikidata property
replaced by
follows
place of publication
capital of
diplomatic relation
student
Program:
function: Find
inputs: Bari
function: Find
inputs: Apulia
function: QueryRelation
dependencies: 0
1
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Bari" . ?e_2 <pred:name> "Apulia" . ?e_1 ?p ?e_2 .  }
Answer: capital of