Question: Veracruz, designated by ISO 3166-2 code MX-VER, has what connection to Chiapas?
Choices:
director/manager
tributary
replaces
sidekick of
production company
connects with
military rank
narrative role
shares border with
creator
Program:
function: Find
inputs: Veracruz
function: FilterStr
dependencies: 0
inputs: ISO 3166-2 code
MX-VER
function: Find
inputs: Chiapas
function: QueryRelation
dependencies: 1
2
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Veracruz" . ?e_1 <ISO_3166-2_code> ?pv . ?pv <pred:value> "MX-VER" . ?e_2 <pred:name> "Chiapas" . ?e_1 ?p ?e_2 .  }
Answer: shares border with