Question: Which city with the native label Zena is the capital of Liguria?
Choices:
Cairo
Genoa
Dundee
Trieste
Kingston
Bergen
Kilkenny
Abidjan
Santo Domingo
Chihuahua
Answer: Genoa
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "city" . ?e <native_label> ?pv . ?pv <pred:value> "Zena" . ?e <capital_of> ?e_1 . ?e_1 <pred:name> "Liguria" .  }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: native label
Zena
function: FilterConcept
dependencies: 1
inputs: city
function: Find
inputs: Liguria
function: Relate
dependencies: 3
inputs: capital of
backward
function: FilterConcept
dependencies: 4
inputs: city
function: And
dependencies: 2
5
function: What
dependencies: 6