Question: Which first-level administrative country subdivision borders Friuli–Venezia Giulia?
Choices: Khyber Pakhtunkhwa
Minas Gerais
Chihuahua
England
Lublin Voivodeship
Veneto
México
Canton of Valais
Carinthia
Podlaskie Voivodeship
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "first-level administrative country subdivision" . ?e <shares_border_with> ?e_1 . ?e_1 <pred:name> "Friuli–Venezia Giulia" .   }
Program:
function: Find
inputs: Friuli–Venezia Giulia
function: Relate
dependencies: 0
inputs: shares border with
backward
function: FilterConcept
dependencies: 1
inputs: first-level administrative country subdivision
function: What
dependencies: 2
Answer: Carinthia