Question: What is the relationship between Newark and Bayonne?
Choices:
occupation
award disciplines or subjects
interested in
seed team
talk show guest
shares border with
mother
basic form of government
founded by
residence
Program:
function: Find
inputs: Newark
function: Find
inputs: Bayonne
function: QueryRelation
dependencies: 0
1
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Newark" . ?e_2 <pred:name> "Bayonne" . ?e_1 ?p ?e_2 .  }
Answer: shares border with