Question: How is Lehigh County connected to Northampton County (with the capital of Easton)?
Choices:
shares border with
narrative role
position held
filmography
grants
sponsor
substitute/deputy/replacement of office/officeholder
continent
platform
use
Answer: shares border with
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Lehigh County" . ?e_2 <pred:name> "Northampton County" . ?e_2 <capital> ?e_3 . ?e_3 <pred:name> "Easton" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Lehigh County
function: Find
inputs: Easton
function: Relate
dependencies: 1
inputs: capital
backward
function: Find
inputs: Northampton County
function: And
dependencies: 2
3
function: QueryRelation
dependencies: 0
4