Question: How is Alpes-Maritimes which contains Nice related to Liguria?
Choices:
convicted of
shares border with
award disciplines or subjects
separated from
work location
official color
screenwriter
languages spoken, written or signed
original film format
place of death
Answer: shares border with
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Alpes-Maritimes" . ?e_3 <located_in_the_administrative_territorial_entity> ?e_1 . ?e_3 <pred:name> "Nice" . ?e_2 <pred:name> "Liguria" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Nice
function: Relate
dependencies: 0
inputs: located in the administrative territorial entity
forward
function: Find
inputs: Alpes-Maritimes
function: And
dependencies: 1
2
function: Find
inputs: Liguria
function: QueryRelation
dependencies: 3
4