Question: What is the connection between 2012 and Tokyo that shares a border with Kanagawa Prefecture?
Choices:
capital of
narrative location
contributing factor of
statistical leader
commander of
has quality
costume designer
diaspora
cast member
country
Program:
function: Find
inputs: 2012
function: Find
inputs: Kanagawa Prefecture
function: Relate
dependencies: 1
inputs: shares border with
backward
function: Find
inputs: Tokyo
function: And
dependencies: 2
3
function: QueryRelation
dependencies: 0
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "2012" . ?e_2 <pred:name> "Tokyo" . ?e_2 <shares_border_with> ?e_3 . ?e_3 <pred:name> "Kanagawa Prefecture" . ?e_1 ?p ?e_2 .  }
Answer: narrative location