Question: How is Groningen which shares a border with Friesland, related to the Netherlands?
Choices: contains administrative territorial entity
spouse
instrument
practiced by
highest judicial authority
natural product of taxon
sponsor
film regional debut venue
connects with
located in or next to body of water
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Netherlands" . ?e_2 <pred:name> "Groningen" . ?e_3 <shares_border_with> ?e_2 . ?e_3 <pred:name> "Friesland" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Netherlands
function: Find
inputs: Friesland
function: Relate
dependencies: 1
inputs: shares border with
forward
function: Find
inputs: Groningen
function: And
dependencies: 2
3
function: QueryRelation
dependencies: 0
4
Answer: contains administrative territorial entity