Question: What is the connection between North Rhine-Westphalia to Rhineland-Palatinate?
Choices: shares border with
musical conductor
contains settlement
ancestral home
place of birth
doctoral student
separated from
director of photography
filmography
political ideology
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "North Rhine-Westphalia" . ?e_2 <pred:name> "Rhineland-Palatinate" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: North Rhine-Westphalia
function: Find
inputs: Rhineland-Palatinate
function: QueryRelation
dependencies: 0
1
Answer: shares border with