Question: How is Grafton County related to the Orange County that borders Grafton County?
Choices:
mascot
draft pick from school
properties for this type
donated by
architectural style
exported to
executive producer
symptoms
religious order
shares border with
Program:
function: Find
inputs: Grafton County
function: Find
inputs: Grafton County
function: Relate
dependencies: 1
inputs: shares border with
forward
function: Find
inputs: Orange County
function: And
dependencies: 2
3
function: QueryRelation
dependencies: 0
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Grafton County" . ?e_2 <pred:name> "Orange County" . ?e_3 <shares_border_with> ?e_2 . ?e_3 <pred:name> "Grafton County" . ?e_1 ?p ?e_2 .  }
Answer: shares border with