Question: What is the connection between Santa Cruz County (the one that shares border with Cochise County) to United States of America?
Choices:
derivative work
published in
approved by
doctoral advisor
place of publication
found
significant event
has contributing factor
country
use
Answer: country
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Santa Cruz County" . ?e_1 <shares_border_with> ?e_3 . ?e_3 <pred:name> "Cochise County" . ?e_2 <pred:name> "United States of America" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Cochise County
function: Relate
dependencies: 0
inputs: shares border with
backward
function: Find
inputs: Santa Cruz County
function: And
dependencies: 1
2
function: Find
inputs: United States of America
function: QueryRelation
dependencies: 3
4