Question: What region of Italy has Genoa as a component?
Choices:
Veneto
Abruzzo
Piedmont
Apulia
Friuli–Venezia Giulia
Sardinia
Tuscany
Sicily
Lombardy
Liguria
Program:
function: Find
inputs: Genoa
function: Relate
dependencies: 0
inputs: part of
forward
function: FilterConcept
dependencies: 1
inputs: region of Italy
function: What
dependencies: 2
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "region of Italy" . ?e_1 <part_of> ?e . ?e_1 <pred:name> "Genoa" .   }
Answer: Liguria