Question: What is the connection between Santa Monica to Pacific Palisades (the one that is the residence of J. J. Abrams)?
Choices:
distributor
work location
shares border with
donated by
designated as terrorist by
filming location
genre
season starts
drafted by
cites
Answer: shares border with
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Santa Monica" . ?e_2 <pred:name> "Pacific Palisades" . ?e_3 <residence> ?e_2 . ?e_3 <pred:name> "J. J. Abrams" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Santa Monica
function: Find
inputs: J. J. Abrams
function: Relate
dependencies: 1
inputs: residence
forward
function: Find
inputs: Pacific Palisades
function: And
dependencies: 2
3
function: QueryRelation
dependencies: 0
4