Question: What is the connection between Nevada (the one that contains the administrative division Nye County) to Idaho (the one that is the narrative location of Napoleon Dynamite)?
Choices:
kit supplier
feast day
cites
theme music
notable people with this condition
part of the series
shares border with
present in work
subject has role
coextensive with
Answer: shares border with
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Nevada" . ?e_1 <contains_administrative_territorial_entity> ?e_3 . ?e_3 <pred:name> "Nye County" . ?e_2 <pred:name> "Idaho" . ?e_4 <narrative_location> ?e_2 . ?e_4 <pred:name> "Napoleon Dynamite" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Nye County
function: Relate
dependencies: 0
inputs: contains administrative territorial entity
backward
function: Find
inputs: Nevada
function: And
dependencies: 1
2
function: Find
inputs: Napoleon Dynamite
function: Relate
dependencies: 4
inputs: narrative location
forward
function: Find
inputs: Idaho
function: And
dependencies: 5
6
function: QueryRelation
dependencies: 3
7