Question: How is the Dallas County that borders Collin County related to Denton County?
Choices: place of origin (Switzerland)
appears in the form of
organisation directed from the office or person
basin country
uses
office contested
producer
child
shares border with
political alignment
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Dallas County" . ?e_1 <shares_border_with> ?e_3 . ?e_3 <pred:name> "Collin County" . ?e_2 <pred:name> "Denton County" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Collin County
function: Relate
dependencies: 0
inputs: shares border with
backward
function: Find
inputs: Dallas County
function: And
dependencies: 1
2
function: Find
inputs: Denton County
function: QueryRelation
dependencies: 3
4
Answer: shares border with