Question: Tell me the relationship between Northampton County (which shares a border with Virginia Beach) to Virginia Beach0
Choices:
godparent
hair color
shares border with
doctoral advisor
producer
movement
has contributing factor
depicts
game mode
industry
Answer: shares border with
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Northampton County" . ?e_3 <shares_border_with> ?e_1 . ?e_3 <pred:name> "Virginia Beach" . ?e_2 <pred:name> "Virginia Beach" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Virginia Beach
function: Relate
dependencies: 0
inputs: shares border with
forward
function: Find
inputs: Northampton County
function: And
dependencies: 1
2
function: Find
inputs: Virginia Beach
function: QueryRelation
dependencies: 3
4