Question: What is the connection between Multnomah County and Washington County, with Hillsboro as its capital?
Choices:
license
shares border with
country of citizenship
family
software engine
series spin-off
author
archives at
parent astronomical body
art director
Answer: shares border with
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Multnomah County" . ?e_2 <pred:name> "Washington County" . ?e_3 <capital_of> ?e_2 . ?e_3 <pred:name> "Hillsboro" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Multnomah County
function: Find
inputs: Hillsboro
function: Relate
dependencies: 1
inputs: capital of
forward
function: Find
inputs: Washington County
function: And
dependencies: 2
3
function: QueryRelation
dependencies: 0
4