Question: What is the connection between Bethlehem (the one that is the twinned administrative body of Rabat) to Sacramento?
Choices:
cites
award received
employer
replaced by
history of topic
military rank
business division
performer
official religion
twinned administrative body
Answer: twinned administrative body
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Bethlehem" . ?e_3 <twinned_administrative_body> ?e_1 . ?e_3 <pred:name> "Rabat" . ?e_2 <pred:name> "Sacramento" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Rabat
function: Relate
dependencies: 0
inputs: twinned administrative body
forward
function: Find
inputs: Bethlehem
function: And
dependencies: 1
2
function: Find
inputs: Sacramento
function: QueryRelation
dependencies: 3
4