Question: What is the relationship betwenn Atlanta, where Kanye West was born, and DeKalb County, which shares a border with Gwinnett County?
Choices:
member of sports team
discoverer or inventor
collection
partially contains
located on terrain feature
has effect
partner
main subject
contains administrative territorial entity
located in the administrative territorial entity
Answer: located in the administrative territorial entity
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Atlanta" . ?e_3 <place_of_birth> ?e_1 . ?e_3 <pred:name> "Kanye West" . ?e_2 <pred:name> "DeKalb County" . ?e_4 <shares_border_with> ?e_2 . ?e_4 <pred:name> "Gwinnett County" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Kanye West
function: Relate
dependencies: 0
inputs: place of birth
forward
function: Find
inputs: Atlanta
function: And
dependencies: 1
2
function: Find
inputs: Gwinnett County
function: Relate
dependencies: 4
inputs: shares border with
forward
function: Find
inputs: DeKalb County
function: And
dependencies: 5
6
function: QueryRelation
dependencies: 3
7