Question: How are Apulia and Basilicata related?
Choices:
work location
shares border with
basin country
film editor
health specialty
has edition
capital of
after a work by
series spin-off
sport
Program:
function: Find
inputs: Apulia
function: Find
inputs: Basilicata
function: QueryRelation
dependencies: 0
1
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Apulia" . ?e_2 <pred:name> "Basilicata" . ?e_1 ?p ?e_2 .  }
Answer: shares border with