Question: What is the connection between Lake County (the one that shares border with Sonoma County) to Sonoma County?
Choices:
approved by
shares border with
medical treatment
voice actor
political alignment
language used
product or material produced
drug used for treatment
named after
successful candidate
Program:
function: Find
inputs: Sonoma County
function: Relate
dependencies: 0
inputs: shares border with
forward
function: Find
inputs: Lake County
function: And
dependencies: 1
2
function: Find
inputs: Sonoma County
function: QueryRelation
dependencies: 3
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Lake County" . ?e_3 <shares_border_with> ?e_1 . ?e_3 <pred:name> "Sonoma County" . ?e_2 <pred:name> "Sonoma County" . ?e_1 ?p ?e_2 .  }
Answer: shares border with