Question: How is Chiapas related to the Veracruz that borders Chiapas?
Choices:
subject has role
discoverer or inventor
nutrient
position held
separated from
drug used for treatment
used by
shares border with
manufacturer
copyright representative
Program:
function: Find
inputs: Chiapas
function: Find
inputs: Chiapas
function: Relate
dependencies: 1
inputs: shares border with
forward
function: Find
inputs: Veracruz
function: And
dependencies: 2
3
function: QueryRelation
dependencies: 0
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Chiapas" . ?e_2 <pred:name> "Veracruz" . ?e_3 <shares_border_with> ?e_2 . ?e_3 <pred:name> "Chiapas" . ?e_1 ?p ?e_2 .  }
Answer: shares border with